home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| POSIX tar archive (GNU)
| default
| |
99%
| file
| POSIX tar archive (GNU), directory ax25ip/, mode 40755 , uid 765 , gid 144 , size 0 , seconds 5715007747, user jeff, group users
| default
| |
98%
| file
| data
| default
| |
41%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
36%
| TrID
| TAR - Tape ARchive (GNU)
| default
| |
21%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| dearkID
| deark: tar
| default
| |
100%
| siegfried
| x-fmt/265 Tape Archive Format
| default
| |
100%
| lsar
| Tar
| default (weak)
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| GNU tar archive
| default
| |
100%
| detectItEasy
| Archive: tar
| default
| |
100%
| binwalkID
| POSIX tar archive (GNU)
| default
| |
100%
| xdgMime
| application/x-tar
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 61 78 32 35 69 70 2f 00 | 00 00 00 00 00 00 00 00 |ax25ip/.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 37 |.... 407|55 . 7|
|00000070| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 35 37 31 35 30 30 37 | 0 | 5715007|
|00000090| 37 34 37 20 20 31 30 34 | 32 34 00 20 35 00 00 00 |747 104|24. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 61 78 32 35 69 70 2f 4d | 61 6b 65 66 69 6c 65 00 |ax25ip/M|akefile.|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00000270| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000280| 20 20 20 20 33 31 31 20 | 20 35 37 31 34 37 33 36 | 311 | 5714736|
|00000290| 34 36 36 20 20 31 32 31 | 34 32 00 20 30 00 00 00 |466 121|42. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 23 20 4d 61 6b 65 66 69 | 6c 65 20 66 6f 72 20 74 |# Makefi|le for t|
|00000410| 68 65 20 61 78 32 35 69 | 70 20 73 74 75 66 66 0a |he ax25i|p stuff.|
|00000420| 0a 43 46 4c 41 47 53 3d | 20 2d 4f 32 20 2d 44 4c |.CFLAGS=| -O2 -DL|
|00000430| 49 4e 55 58 20 2d 44 55 | 53 45 5f 54 45 52 4d 49 |INUX -DU|SE_TERMI|
|00000440| 4f 0a 0a 4f 42 4a 53 3d | 20 6d 61 69 6e 2e 6f 20 |O..OBJS=| main.o |
|00000450| 6b 69 73 73 2e 6f 20 70 | 72 6f 63 65 73 73 2e 6f |kiss.o p|rocess.o|
|00000460| 20 72 6f 75 74 69 6e 67 | 2e 6f 20 69 6f 2e 6f 20 | routing|.o io.o |
|00000470| 63 6f 6e 66 69 67 2e 6f | 20 63 72 63 2e 6f 0a 0a |config.o| crc.o..|
|00000480| 61 78 32 35 69 70 3a 09 | 09 24 28 4f 42 4a 53 29 |ax25ip:.|.$(OBJS)|
|00000490| 0a 09 24 28 43 43 29 20 | 2d 6f 20 61 78 32 35 69 |..$(CC) |-o ax25i|
|000004a0| 70 20 24 28 4f 42 4a 53 | 29 0a 0a 63 6c 65 61 6e |p $(OBJS|)..clean|
|000004b0| 3a 0a 09 72 6d 20 2d 66 | 20 2a 2e 6f 20 61 78 32 |:..rm -f| *.o ax2|
|000004c0| 35 69 70 20 63 6f 72 65 | 0a 00 00 00 00 00 00 00 |5ip core|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 61 78 32 35 69 70 2f 52 | 45 41 44 4d 45 2e 61 78 |ax25ip/R|EADME.ax|
|00000610| 32 35 69 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |25ip....|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00000670| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00000680| 20 20 32 33 37 34 37 20 | 20 35 30 37 34 36 36 36 | 23747 | 5074666|
|00000690| 34 35 30 20 20 31 32 35 | 34 35 00 20 30 00 00 00 |450 125|45. 0...|
|000006a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 61 78 | | ax|
|00000820| 32 35 69 70 0a 20 20 20 | 20 20 20 20 20 20 20 20 |25ip. | |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000840| 20 20 3d 3d 3d 3d 3d 3d | 0a 0a 54 68 69 73 20 52 | ======|..This R|
|00000850| 45 41 44 4d 45 20 66 69 | 6c 65 73 20 70 65 72 74 |EADME fi|les pert|
|00000860| 61 69 6e 73 20 74 6f 20 | 76 65 72 73 69 6f 6e 20 |ains to |version |
|00000870| 30 2e 34 20 6f 66 20 61 | 78 32 35 69 70 2e 0a 28 |0.4 of a|x25ip..(|
|00000880| 74 68 69 73 20 64 6f 63 | 75 6d 65 6e 74 20 69 73 |this doc|ument is|
|00000890| 20 63 75 72 72 65 6e 74 | 6c 79 20 69 6e 63 6f 6d | current|ly incom|
|000008a0| 70 6c 65 74 65 20 2d 2d | 20 74 68 65 20 55 44 50 |plete --| the UDP|
|000008b0| 20 66 65 61 74 75 72 65 | 73 20 6c 61 63 6b 20 65 | feature|s lack e|
|000008c0| 78 61 6d 70 6c 65 73 29 | 0a 0a 4f 76 65 72 76 69 |xamples)|..Overvi|
|000008d0| 65 77 0a 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 20 20 20 |ew.-----|---.. |
|000008e0| 52 46 43 31 32 32 36 20 | 64 65 73 63 72 69 62 65 |RFC1226 |describe|
|000008f0| 73 20 61 20 6d 65 74 68 | 6f 64 20 6f 66 20 75 73 |s a meth|od of us|
|00000900| 69 6e 67 20 54 43 50 2f | 49 50 20 62 61 73 65 64 |ing TCP/|IP based|
|00000910| 20 6e 65 74 77 6f 72 6b | 73 20 74 6f 20 74 72 61 | network|s to tra|
|00000920| 6e 73 70 6f 72 74 0a 41 | 58 2e 32 35 20 66 72 61 |nsport.A|X.25 fra|
|00000930| 6d 65 73 2e 20 20 54 68 | 65 20 61 78 32 35 69 70 |mes. Th|e ax25ip|
|00000940| 20 75 74 69 6c 69 74 79 | 20 75 73 65 73 20 74 68 | utility| uses th|
|00000950| 69 73 20 74 65 63 68 6e | 69 71 75 65 20 74 6f 20 |is techn|ique to |
|00000960| 74 72 61 6e 73 66 65 72 | 20 41 58 2e 32 35 0a 66 |transfer| AX.25.f|
|00000970| 72 61 6d 65 73 20 69 6e | 20 61 6e 64 20 6f 75 74 |rames in| and out|
|00000980| 20 6f 66 20 54 43 50 2f | 49 50 20 65 6e 76 69 72 | of TCP/|IP envir|
|00000990| 6f 6e 6d 65 6e 74 73 2e | 0a 0a 20 20 20 54 68 65 |onments.|.. The|
|000009a0| 20 69 6e 74 65 72 66 61 | 63 65 20 74 6f 20 74 68 | interfa|ce to th|
|000009b0| 65 20 41 58 2e 32 35 20 | 77 6f 72 6c 64 20 69 73 |e AX.25 |world is|
|000009c0| 20 76 69 61 20 4b 49 53 | 53 2c 20 77 69 74 68 20 | via KIS|S, with |
|000009d0| 61 78 32 35 69 70 20 65 | 6d 75 6c 61 74 69 6e 67 |ax25ip e|mulating|
|000009e0| 0a 65 69 74 68 65 72 20 | 61 20 73 74 61 6e 64 61 |.either |a standa|
|000009f0| 72 64 20 4b 49 53 53 20 | 54 4e 43 20 6f 72 20 6f |rd KISS |TNC or o|
|00000a00| 70 65 72 61 74 69 6e 67 | 20 61 73 20 61 20 64 69 |perating| as a di|
|00000a10| 67 69 70 65 61 74 65 72 | 2e 20 20 41 58 2e 32 35 |gipeater|. AX.25|
|00000a20| 20 66 72 61 6d 65 73 0a | 61 72 72 69 76 69 6e 67 | frames.|arriving|
|00000a30| 20 6f 6e 20 74 68 65 20 | 4b 49 53 53 20 69 6e 74 | on the |KISS int|
|00000a40| 65 72 66 61 63 65 20 61 | 72 65 20 72 6f 75 74 65 |erface a|re route|
|00000a50| 64 20 74 6f 20 74 68 65 | 20 49 50 20 69 6e 74 65 |d to the| IP inte|
|00000a60| 72 66 61 63 65 20 61 6e | 64 20 73 65 6e 74 0a 74 |rface an|d sent.t|
|00000a70| 6f 20 74 68 65 20 61 70 | 70 72 6f 70 72 69 61 74 |o the ap|propriat|
|00000a80| 65 20 49 50 20 68 6f 73 | 74 20 73 79 73 74 65 6d |e IP hos|t system|
|00000a90| 2e 20 20 49 6e 63 6f 6d | 69 6e 67 20 66 72 61 6d |. Incom|ing fram|
|00000aa0| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 49 50 20 69 |es from |the IP i|
|00000ab0| 6e 74 65 72 66 61 63 65 | 0a 61 72 65 20 66 69 6c |nterface|.are fil|
|00000ac0| 74 65 72 65 64 20 61 6e | 64 20 73 65 6e 74 20 6f |tered an|d sent o|
|00000ad0| 75 74 20 74 68 65 20 4b | 49 53 53 20 69 6e 74 65 |ut the K|ISS inte|
|00000ae0| 72 66 61 63 65 2e 20 20 | 54 68 65 20 6f 70 65 72 |rface. |The oper|
|00000af0| 61 74 6f 72 20 63 6f 6e | 74 72 6f 6c 73 20 74 68 |ator con|trols th|
|00000b00| 65 0a 6d 6f 64 65 20 28 | 74 6e 63 20 6f 72 20 64 |e.mode (|tnc or d|
|00000b10| 69 67 69 70 65 61 74 65 | 72 29 2c 20 74 68 65 20 |igipeate|r), the |
|00000b20| 72 6f 75 74 69 6e 67 20 | 28 63 61 6c 6c 73 69 67 |routing |(callsig|
|00000b30| 6e 20 74 6f 20 69 70 20 | 68 6f 73 74 20 6d 61 70 |n to ip |host map|
|00000b40| 70 69 6e 67 29 2c 20 61 | 6e 64 0a 61 20 66 65 77 |ping), a|nd.a few|
|00000b50| 20 73 75 6e 64 72 79 20 | 63 6f 6e 74 72 6f 6c 73 | sundry |controls|
|00000b60| 20 76 69 61 20 61 20 63 | 6f 6e 66 69 67 75 72 61 | via a c|onfigura|
|00000b70| 74 69 6f 6e 20 66 69 6c | 65 2c 20 72 65 61 64 20 |tion fil|e, read |
|00000b80| 61 74 20 73 74 61 72 74 | 75 70 2e 0a 0a 20 20 20 |at start|up... |
|00000b90| 49 6e 20 69 74 27 73 20 | 63 75 72 72 65 6e 74 20 |In it's |current |
|00000ba0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 2c 20 |implemen|tation, |
|00000bb0| 61 78 32 35 69 70 20 72 | 75 6e 73 20 6f 6e 6c 79 |ax25ip r|uns only|
|00000bc0| 20 6f 6e 20 42 53 44 20 | 55 4e 49 58 20 6d 61 63 | on BSD |UNIX mac|
|00000bd0| 68 69 6e 65 73 0a 28 53 | 75 6e 4f 53 20 34 2e 30 |hines.(S|unOS 4.0|
|00000be0| 2e 33 20 6f 72 20 67 72 | 65 61 74 65 72 2c 20 69 |.3 or gr|eater, i|
|00000bf0| 6e 20 70 61 72 74 69 63 | 75 6c 61 72 29 2e 20 20 |n partic|ular). |
|00000c00| 49 74 20 72 65 71 75 69 | 72 65 73 20 61 20 73 65 |It requi|res a se|
|00000c10| 72 69 61 6c 20 70 6f 72 | 74 2c 20 61 6e 64 0a 75 |rial por|t, and.u|
|00000c20| 73 65 73 20 61 20 72 61 | 77 20 73 6f 63 6b 65 74 |ses a ra|w socket|
|00000c30| 20 74 6f 20 67 61 69 6e | 20 61 63 63 65 73 73 20 | to gain| access |
|00000c40| 74 6f 20 74 68 65 20 49 | 50 20 6c 61 79 65 72 20 |to the I|P layer |
|00000c50| 6f 66 20 74 68 65 20 68 | 6f 73 74 27 73 20 54 43 |of the h|ost's TC|
|00000c60| 50 2f 49 50 0a 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |P/IP.imp|lementat|
|00000c70| 69 6f 6e 20 28 74 68 69 | 73 20 72 65 71 75 69 72 |ion (thi|s requir|
|00000c80| 65 73 20 74 68 61 74 20 | 61 78 32 35 69 70 20 62 |es that |ax25ip b|
|00000c90| 65 20 73 74 61 72 74 65 | 64 20 62 79 20 72 6f 6f |e starte|d by roo|
|00000ca0| 74 29 2e 20 20 41 78 32 | 35 69 70 0a 61 6c 73 6f |t). Ax2|5ip.also|
|00000cb0| 20 73 75 70 70 6f 72 74 | 73 20 75 73 69 6e 67 20 | support|s using |
|00000cc0| 61 20 73 74 61 6e 64 61 | 72 64 20 55 44 50 20 73 |a standa|rd UDP s|
|00000cd0| 6f 63 6b 65 74 20 69 6e | 20 70 6c 61 63 65 20 6f |ocket in| place o|
|00000ce0| 66 20 74 68 65 20 72 61 | 77 20 73 6f 63 6b 65 74 |f the ra|w socket|
|00000cf0| 2c 0a 61 6c 74 68 6f 75 | 67 68 20 74 68 69 73 20 |,.althou|gh this |
|00000d00| 64 6f 65 73 20 6e 6f 74 | 20 61 64 68 65 72 65 20 |does not| adhere |
|00000d10| 74 6f 20 52 46 43 31 32 | 32 36 2e 0a 0a 0a 4d 6f |to RFC12|26....Mo|
|00000d20| 64 65 73 20 61 6e 64 20 | 52 6f 75 74 69 6e 67 0a |des and |Routing.|
|00000d30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000d40| 2d 0a 0a 20 20 20 54 68 | 65 72 65 20 61 72 65 20 |-.. Th|ere are |
|00000d50| 74 77 6f 20 69 6e 74 65 | 72 66 61 63 65 73 20 69 |two inte|rfaces i|
|00000d60| 6e 74 6f 20 61 6e 64 20 | 6f 75 74 20 6f 66 20 61 |nto and |out of a|
|00000d70| 78 32 35 69 70 2e 20 20 | 54 68 65 20 4b 49 53 53 |x25ip. |The KISS|
|00000d80| 20 69 6e 74 65 72 66 61 | 63 65 0a 69 73 20 61 20 | interfa|ce.is a |
|00000d90| 73 74 61 6e 64 61 72 64 | 20 73 65 72 69 61 6c 20 |standard| serial |
|00000da0| 70 6f 72 74 2c 20 72 75 | 6e 6e 69 6e 67 20 73 70 |port, ru|nning sp|
|00000db0| 65 65 64 73 20 75 70 20 | 74 6f 20 33 38 34 30 30 |eeds up |to 38400|
|00000dc0| 20 62 61 75 64 2e 20 20 | 54 68 65 20 49 50 0a 69 | baud. |The IP.i|
|00000dd0| 6e 74 65 72 66 61 63 65 | 20 72 65 61 64 73 20 61 |nterface| reads a|
|00000de0| 6e 64 20 77 72 69 74 65 | 73 20 70 61 63 6b 65 74 |nd write|s packet|
|00000df0| 73 20 74 6f 20 61 6e 20 | 49 50 20 6e 65 74 77 6f |s to an |IP netwo|
|00000e00| 72 6b 20 69 6e 20 61 63 | 63 6f 72 64 61 6e 63 65 |rk in ac|cordance|
|00000e10| 20 77 69 74 68 0a 74 68 | 65 20 73 70 65 63 69 66 | with.th|e specif|
|00000e20| 69 63 61 74 69 6f 6e 73 | 20 69 6e 20 52 46 43 31 |ications| in RFC1|
|00000e30| 32 32 36 2e 20 20 53 65 | 76 65 72 61 6c 20 66 61 |226. Se|veral fa|
|00000e40| 63 74 6f 72 73 20 64 65 | 74 65 72 6d 69 6e 65 20 |ctors de|termine |
|00000e50| 68 6f 77 20 41 58 2e 32 | 35 0a 66 72 61 6d 65 73 |how AX.2|5.frames|
|00000e60| 20 72 6f 75 74 65 20 77 | 69 74 68 69 6e 20 61 78 | route w|ithin ax|
|00000e70| 32 35 69 70 20 61 6e 64 | 20 74 68 72 6f 75 67 68 |25ip and| through|
|00000e80| 20 74 68 65 20 49 50 20 | 6e 65 74 77 6f 72 6b 2c | the IP |network,|
|00000e90| 20 61 6c 74 68 6f 75 67 | 68 20 73 6f 6d 65 0a 62 | althoug|h some.b|
|00000ea0| 61 73 69 63 20 72 75 6c | 65 73 20 61 6c 77 61 79 |asic rul|es alway|
|00000eb0| 73 20 61 70 70 6c 79 3a | 0a 0a 20 20 20 41 20 66 |s apply:|.. A f|
|00000ec0| 72 61 6d 65 20 77 69 6c | 6c 20 6e 65 76 65 72 20 |rame wil|l never |
|00000ed0| 6c 65 61 76 65 20 61 78 | 32 35 69 70 20 6f 6e 20 |leave ax|25ip on |
|00000ee0| 74 68 65 20 73 61 6d 65 | 20 69 6e 74 65 72 66 61 |the same| interfa|
|00000ef0| 63 65 20 69 74 20 63 61 | 6d 65 20 69 6e 20 6f 6e |ce it ca|me in on|
|00000f00| 2e 0a 54 68 69 73 20 66 | 75 6e 64 61 6d 65 6e 74 |..This f|undament|
|00000f10| 61 6c 20 72 75 6c 65 20 | 65 6c 69 6d 69 6e 61 74 |al rule |eliminat|
|00000f20| 65 73 20 6d 75 63 68 20 | 63 6f 6d 70 6c 65 78 69 |es much |complexi|
|00000f30| 74 79 20 61 6e 64 20 6d | 75 63 68 20 63 6f 6e 66 |ty and m|uch conf|
|00000f40| 75 73 69 6f 6e 20 6f 6e | 0a 68 6f 77 20 74 6f 20 |usion on|.how to |
|00000f50| 73 65 74 20 75 70 20 61 | 78 32 35 69 70 2e 0a 0a |set up a|x25ip...|
|00000f60| 20 20 20 41 20 66 72 61 | 6d 65 20 77 69 6c 6c 20 | A fra|me will |
|00000f70| 6e 65 76 65 72 20 62 65 | 20 73 65 6e 74 20 74 6f |never be| sent to|
|00000f80| 20 6d 6f 72 65 20 74 68 | 61 6e 20 6f 6e 65 20 49 | more th|an one I|
|00000f90| 50 20 68 6f 73 74 2e 20 | 20 55 73 69 6e 67 20 61 |P host. | Using a|
|00000fa0| 6e 20 49 50 0a 6e 65 74 | 77 6f 72 6b 20 61 73 20 |n IP.net|work as |
|00000fb0| 61 20 62 72 6f 61 64 63 | 61 73 74 20 6d 65 64 69 |a broadc|ast medi|
|00000fc0| 61 20 69 73 20 70 72 6f | 62 61 62 6c 79 20 6e 6f |a is pro|bably no|
|00000fd0| 74 20 61 20 67 6f 6f 64 | 20 69 64 65 61 2c 20 65 |t a good| idea, e|
|00000fe0| 73 70 65 63 69 61 6c 6c | 79 0a 61 63 72 6f 73 73 |speciall|y.across|
|00000ff0| 20 74 68 65 20 49 6e 74 | 65 72 6e 65 74 21 0a 0a | the Int|ernet!..|
|00001000| 20 20 4d 6f 73 74 20 6f | 74 68 65 72 20 72 6f 75 | Most o|ther rou|
|00001010| 74 69 6e 67 20 66 61 63 | 74 6f 72 73 20 69 6e 76 |ting fac|tors inv|
|00001020| 6f 6c 76 65 20 75 73 65 | 72 20 63 6f 6e 66 69 67 |olve use|r config|
|00001030| 75 72 61 74 69 6f 6e 2c | 20 61 6e 64 20 64 65 70 |uration,| and dep|
|00001040| 65 6e 64 0a 68 65 61 76 | 69 6c 79 20 6f 6e 20 74 |end.heav|ily on t|
|00001050| 68 65 20 6d 6f 64 65 20 | 6f 66 20 6f 70 65 72 61 |he mode |of opera|
|00001060| 74 69 6f 6e 2e 0a 0a 20 | 20 49 6e 20 74 6e 63 20 |tion... | In tnc |
|00001070| 6d 6f 64 65 2c 20 61 78 | 32 35 69 70 20 65 6d 75 |mode, ax|25ip emu|
|00001080| 6c 61 74 65 73 20 61 20 | 4b 49 53 53 20 74 6e 63 |lates a |KISS tnc|
|00001090| 2c 20 61 6e 64 20 62 65 | 68 61 76 65 73 20 61 73 |, and be|haves as|
|000010a0| 20 6f 6e 65 20 77 6f 75 | 6c 64 0a 65 78 70 65 63 | one wou|ld.expec|
|000010b0| 74 2e 20 20 54 68 65 20 | 6e 65 78 74 20 64 65 73 |t. The |next des|
|000010c0| 74 69 6e 61 74 69 6f 6e | 20 63 61 6c 6c 73 69 67 |tination| callsig|
|000010d0| 6e 20 28 65 69 74 68 65 | 72 20 74 68 65 20 64 65 |n (eithe|r the de|
|000010e0| 73 74 69 6e 61 74 69 6f | 6e 20 6f 72 20 74 68 65 |stinatio|n or the|
|000010f0| 0a 6e 65 78 74 20 64 69 | 67 69 70 65 61 74 65 72 |.next di|gipeater|
|00001100| 20 69 6e 20 6c 69 6e 65 | 29 20 69 73 20 65 78 74 | in line|) is ext|
|00001110| 72 61 63 74 65 64 20 66 | 72 6f 6d 20 66 72 61 6d |racted f|rom fram|
|00001120| 65 73 20 61 72 72 69 76 | 69 6e 67 20 6f 6e 20 74 |es arriv|ing on t|
|00001130| 68 65 20 4b 49 53 53 0a | 69 6e 74 65 72 66 61 63 |he KISS.|interfac|
|00001140| 65 2c 20 61 6e 64 20 6c | 6f 6f 6b 65 64 20 75 70 |e, and l|ooked up|
|00001150| 20 69 6e 20 61 20 72 6f | 75 74 69 6e 67 20 74 61 | in a ro|uting ta|
|00001160| 62 6c 65 20 28 62 75 69 | 6c 74 20 62 79 20 74 68 |ble (bui|lt by th|
|00001170| 65 20 6f 70 65 72 61 74 | 6f 72 20 69 6e 20 74 68 |e operat|or in th|
|00001180| 65 0a 63 6f 6e 66 69 67 | 75 72 61 74 69 6f 6e 20 |e.config|uration |
|00001190| 66 69 6c 65 29 2e 20 20 | 54 68 65 20 72 6f 75 74 |file). |The rout|
|000011a0| 69 6e 67 20 74 61 62 6c | 65 20 70 72 6f 76 69 64 |ing tabl|e provid|
|000011b0| 65 73 20 74 68 65 20 49 | 50 20 61 64 64 72 65 73 |es the I|P addres|
|000011c0| 73 20 74 6f 20 77 68 69 | 63 68 0a 74 68 69 73 20 |s to whi|ch.this |
|000011d0| 66 72 61 6d 65 20 73 68 | 6f 75 6c 64 20 62 65 20 |frame sh|ould be |
|000011e0| 73 65 6e 74 2e 20 20 54 | 68 65 20 73 74 61 6e 64 |sent. T|he stand|
|000011f0| 61 72 64 20 43 52 43 20 | 69 73 20 63 6f 6d 70 75 |ard CRC |is compu|
|00001200| 74 65 64 2c 20 74 61 63 | 6b 65 64 20 6f 6e 74 6f |ted, tac|ked onto|
|00001210| 20 74 68 65 0a 66 72 61 | 6d 65 2c 20 61 6e 64 20 | the.fra|me, and |
|00001220| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 73 65 |the resu|lt is se|
|00001230| 6e 74 20 6f 66 66 20 74 | 6f 20 74 68 65 20 74 61 |nt off t|o the ta|
|00001240| 72 67 65 74 20 73 79 73 | 74 65 6d 2e 20 20 46 72 |rget sys|tem. Fr|
|00001250| 61 6d 65 73 20 61 72 72 | 69 76 69 6e 67 0a 66 72 |ames arr|iving.fr|
|00001260| 6f 6d 20 74 68 65 20 49 | 50 20 69 6e 74 65 72 66 |om the I|P interf|
|00001270| 61 63 65 20 68 61 76 65 | 20 74 68 65 20 43 52 43 |ace have| the CRC|
|00001280| 20 63 68 65 63 6b 65 64 | 20 61 6e 64 20 72 65 6d | checked| and rem|
|00001290| 6f 76 65 64 2c 20 61 6e | 64 20 61 72 65 20 66 6f |oved, an|d are fo|
|000012a0| 72 77 61 72 64 65 64 0a | 74 6f 20 74 68 65 20 4b |rwarded.|to the K|
|000012b0| 49 53 53 20 69 6e 74 65 | 72 66 61 63 65 2e 0a 0a |ISS inte|rface...|
|000012c0| 20 20 20 44 69 67 69 20 | 6d 6f 64 65 20 69 73 20 | Digi |mode is |
|000012d0| 61 20 6c 69 74 74 6c 65 | 20 6d 6f 72 65 20 63 6f |a little| more co|
|000012e0| 6d 70 6c 69 63 61 74 65 | 64 2e 20 20 49 6e 20 74 |mplicate|d. In t|
|000012f0| 68 69 73 20 6d 6f 64 65 | 2c 20 61 78 32 35 69 70 |his mode|, ax25ip|
|00001300| 20 69 73 0a 61 73 73 69 | 67 6e 65 64 20 61 20 63 | is.assi|gned a c|
|00001310| 61 6c 6c 73 69 67 6e 2c | 20 61 6e 64 20 61 63 74 |allsign,| and act|
|00001320| 73 20 61 73 20 61 20 64 | 69 67 69 70 65 61 74 65 |s as a d|igipeate|
|00001330| 72 2e 20 20 49 66 20 61 | 20 66 72 61 6d 65 20 61 |r. If a| frame a|
|00001340| 72 72 69 76 69 6e 67 20 | 6f 6e 0a 74 68 65 20 4b |rriving |on.the K|
|00001350| 49 53 53 20 69 6e 74 65 | 72 66 61 63 65 20 68 61 |ISS inte|rface ha|
|00001360| 73 20 61 78 32 35 69 70 | 27 73 20 63 61 6c 6c 73 |s ax25ip|'s calls|
|00001370| 69 67 6e 20 73 70 65 63 | 69 66 69 65 64 20 61 73 |ign spec|ified as|
|00001380| 20 74 68 65 20 6e 65 78 | 74 20 64 69 67 69 70 65 | the nex|t digipe|
|00001390| 61 74 65 72 2c 0a 61 78 | 32 35 69 70 20 77 69 6c |ater,.ax|25ip wil|
|000013a0| 6c 20 6d 61 72 6b 20 74 | 68 65 20 66 72 61 6d 65 |l mark t|he frame|
|000013b0| 20 61 73 20 64 69 67 69 | 70 65 61 74 65 64 20 62 | as digi|peated b|
|000013c0| 79 20 69 74 2c 20 6c 6f | 6f 6b 20 75 70 20 74 68 |y it, lo|ok up th|
|000013d0| 65 20 6e 65 78 74 20 63 | 61 6c 6c 73 69 67 6e 0a |e next c|allsign.|
|000013e0| 69 6e 20 74 68 65 20 72 | 6f 75 74 69 6e 67 20 74 |in the r|outing t|
|000013f0| 61 62 6c 65 2c 20 63 6f | 6d 70 75 74 65 20 61 6e |able, co|mpute an|
|00001400| 64 20 61 70 70 65 6e 64 | 20 74 68 65 20 43 52 43 |d append| the CRC|
|00001410| 2c 20 61 6e 64 20 73 65 | 6e 64 20 74 68 65 20 66 |, and se|nd the f|
|00001420| 72 61 6d 65 20 74 6f 0a | 74 68 65 20 73 70 65 63 |rame to.|the spec|
|00001430| 69 66 69 65 64 20 49 50 | 20 68 6f 73 74 2e 20 20 |ified IP| host. |
|00001440| 46 72 61 6d 65 73 20 61 | 72 72 69 76 69 6e 67 20 |Frames a|rriving |
|00001450| 6f 6e 20 74 68 65 20 49 | 50 20 69 6e 74 65 72 66 |on the I|P interf|
|00001460| 61 63 65 20 77 69 6c 6c | 20 62 65 0a 68 61 6e 64 |ace will| be.hand|
|00001470| 6c 65 64 20 69 6e 20 61 | 20 73 69 6d 69 6c 61 72 |led in a| similar|
|00001480| 20 66 61 73 68 69 6f 6e | 2c 20 62 75 74 20 6e 6f | fashion|, but no|
|00001490| 74 65 20 74 68 61 74 20 | 69 6e 20 6e 6f 20 63 61 |te that |in no ca|
|000014a0| 73 65 73 20 77 69 6c 6c | 20 74 68 65 20 66 72 61 |ses will| the fra|
|000014b0| 6d 65 20 62 65 0a 73 65 | 6e 74 20 6f 75 74 20 74 |me be.se|nt out t|
|000014c0| 68 65 20 73 61 6d 65 20 | 70 6f 72 74 20 69 74 20 |he same |port it |
|000014d0| 61 72 72 69 76 65 64 20 | 69 6e 20 6f 6e 2e 0a 0a |arrived |in on...|
|000014e0| 0a 43 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 0a 2d |.Configu|ration.-|
|000014f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0a 0a 20 20 |--------|----.. |
|00001500| 20 41 20 73 69 6e 67 6c | 65 20 63 6f 6e 66 69 67 | A singl|e config|
|00001510| 75 72 61 74 69 6f 6e 20 | 66 69 6c 65 20 69 73 20 |uration |file is |
|00001520| 75 73 65 64 20 74 6f 20 | 74 61 69 6c 6f 72 20 61 |used to |tailor a|
|00001530| 78 32 35 69 70 2e 20 20 | 54 68 65 20 66 69 6c 65 |x25ip. |The file|
|00001540| 20 69 73 0a 75 73 75 61 | 6c 6c 79 20 6e 61 6d 65 | is.usua|lly name|
|00001550| 64 20 22 61 78 32 35 69 | 70 2e 63 66 67 22 20 61 |d "ax25i|p.cfg" a|
|00001560| 6e 64 20 73 68 6f 75 6c | 64 20 62 65 20 6c 6f 63 |nd shoul|d be loc|
|00001570| 61 74 65 64 20 69 6e 20 | 74 68 65 20 73 61 6d 65 |ated in |the same|
|00001580| 20 64 69 72 65 63 74 6f | 72 79 0a 61 78 32 35 69 | directo|ry.ax25i|
|00001590| 70 20 69 73 20 65 78 65 | 63 75 74 65 64 20 66 72 |p is exe|cuted fr|
|000015a0| 6f 6d 2e 20 20 41 6e 20 | 65 78 61 6d 70 6c 65 20 |om. An |example |
|000015b0| 69 73 20 70 72 6f 62 61 | 62 6c 79 20 74 68 65 20 |is proba|bly the |
|000015c0| 62 65 73 74 20 77 61 79 | 20 74 6f 20 62 65 63 6f |best way| to beco|
|000015d0| 6d 65 0a 66 61 6d 69 6c | 69 61 72 20 77 69 74 68 |me.famil|iar with|
|000015e0| 20 63 6f 6e 66 69 67 75 | 72 69 6e 67 20 61 78 32 | configu|ring ax2|
|000015f0| 35 69 70 2e 0a 0a 23 20 | 53 61 6d 70 6c 65 20 43 |5ip...# |Sample C|
|00001600| 6f 6e 66 69 67 75 72 61 | 74 69 6f 6e 20 66 69 6c |onfigura|tion fil|
|00001610| 65 20 66 6f 72 20 61 78 | 32 35 69 70 0a 6d 6f 64 |e for ax|25ip.mod|
|00001620| 65 20 64 69 67 69 0a 73 | 6f 63 6b 65 74 20 69 70 |e digi.s|ocket ip|
|00001630| 0a 64 65 76 69 63 65 20 | 2f 64 65 76 2f 74 74 79 |.device |/dev/tty|
|00001640| 61 0a 73 70 65 65 64 20 | 39 36 30 30 0a 6d 79 63 |a.speed |9600.myc|
|00001650| 61 6c 6c 20 4b 41 39 57 | 53 42 2d 37 0a 6d 79 61 |all KA9W|SB-7.mya|
|00001660| 6c 69 61 73 20 49 4c 53 | 55 4e 0a 62 65 61 63 6f |lias ILS|UN.beaco|
|00001670| 6e 20 65 76 65 72 79 20 | 35 34 30 0a 62 74 65 78 |n every |540.btex|
|00001680| 74 20 61 78 32 35 69 70 | 20 2d 2d 20 64 69 67 69 |t ax25ip| -- digi|
|00001690| 20 6b 61 39 77 73 62 2d | 37 20 2d 2d 20 45 78 70 | ka9wsb-|7 -- Exp|
|000016a0| 65 72 69 6d 65 6e 74 61 | 6c 20 49 50 20 65 6e 63 |erimenta|l IP enc|
|000016b0| 61 70 73 75 6c 61 74 6f | 72 0a 6c 6f 67 6c 65 76 |apsulato|r.loglev|
|000016c0| 65 6c 20 32 0a 72 6f 75 | 74 65 20 57 31 41 57 2d |el 2.rou|te W1AW-|
|000016d0| 31 33 20 68 61 6e 64 62 | 6f 6f 6b 2e 61 72 72 6c |13 handb|ook.arrl|
|000016e0| 2e 63 6f 6d 20 0a 72 6f | 75 74 65 20 57 5a 39 5a |.com .ro|ute WZ9Z|
|000016f0| 5a 5a 20 6c 61 73 74 2e | 6f 6e 65 2e 65 64 75 0a |ZZ last.|one.edu.|
|00001700| 70 61 72 61 6d 20 31 20 | 32 30 0a 0a 54 68 65 20 |param 1 |20..The |
|00001710| 6d 6f 64 65 20 63 6f 6d | 6d 61 6e 64 20 73 65 6c |mode com|mand sel|
|00001720| 65 63 74 73 20 74 68 65 | 20 62 65 68 61 76 69 6f |ects the| behavio|
|00001730| 72 20 6f 66 20 61 78 32 | 35 69 70 2e 20 20 54 68 |r of ax2|5ip. Th|
|00001740| 65 20 64 65 76 69 63 65 | 20 6c 69 6e 65 20 73 70 |e device| line sp|
|00001750| 65 63 69 66 69 65 73 0a | 74 68 65 20 74 74 79 20 |ecifies.|the tty |
|00001760| 64 65 76 69 63 65 20 74 | 6f 20 75 73 65 2c 20 61 |device t|o use, a|
|00001770| 6e 64 20 74 68 65 20 73 | 70 65 65 64 20 6c 69 6e |nd the s|peed lin|
|00001780| 65 20 73 65 6c 65 63 74 | 73 20 74 68 65 20 62 61 |e select|s the ba|
|00001790| 75 64 20 72 61 74 65 2e | 20 20 42 61 75 64 0a 72 |ud rate.| Baud.r|
|000017a0| 61 74 65 73 20 75 70 20 | 74 6f 20 33 34 38 30 30 |ates up |to 34800|
|000017b0| 20 63 61 6e 20 62 65 20 | 75 73 65 64 2c 20 62 75 | can be |used, bu|
|000017c0| 74 20 39 36 30 30 20 69 | 73 20 70 72 6f 62 61 62 |t 9600 i|s probab|
|000017d0| 6c 79 20 74 68 65 20 66 | 61 73 74 65 73 74 20 73 |ly the f|astest s|
|000017e0| 61 66 65 0a 73 70 65 65 | 64 20 66 6f 72 20 73 65 |afe.spee|d for se|
|000017f0| 72 69 61 6c 20 63 61 62 | 6c 65 73 20 6f 66 20 61 |rial cab|les of a|
|00001800| 6e 79 20 64 69 73 74 61 | 6e 63 65 20 28 72 65 6d |ny dista|nce (rem|
|00001810| 65 6d 62 65 72 2c 20 4b | 49 53 53 20 68 61 73 20 |ember, K|ISS has |
|00001820| 6e 6f 20 65 72 72 6f 72 | 0a 64 65 74 65 63 74 69 |no error|.detecti|
|00001830| 6f 6e 29 2e 20 20 54 68 | 65 20 6d 79 63 61 6c 6c |on). Th|e mycall|
|00001840| 20 63 6f 6d 6d 61 6e 64 | 20 69 73 20 72 65 71 75 | command| is requ|
|00001850| 69 72 65 64 20 6f 6e 6c | 79 20 69 66 20 79 6f 75 |ired onl|y if you|
|00001860| 20 61 72 65 20 69 6e 20 | 64 69 67 69 20 6d 6f 64 | are in |digi mod|
|00001870| 65 2e 0a 54 68 65 20 6c | 6f 67 6c 65 76 65 6c 20 |e..The l|oglevel |
|00001880| 63 6f 6d 6d 61 6e 64 20 | 73 65 6c 65 63 74 73 20 |command |selects |
|00001890| 74 68 65 20 61 6d 6f 75 | 6e 74 20 6f 66 20 76 65 |the amou|nt of ve|
|000018a0| 72 62 6f 73 69 74 79 20 | 79 6f 75 20 77 61 6e 74 |rbosity |you want|
|000018b0| 2c 20 72 61 6e 67 69 6e | 67 20 66 72 6f 6d 0a 30 |, rangin|g from.0|
|000018c0| 20 28 6e 6f 20 6f 75 74 | 70 75 74 29 20 74 6f 20 | (no out|put) to |
|000018d0| 34 20 28 73 74 72 65 61 | 6d 73 20 6f 66 20 64 61 |4 (strea|ms of da|
|000018e0| 74 61 29 2e 20 20 54 68 | 65 20 72 6f 75 74 65 20 |ta). Th|e route |
|000018f0| 63 6f 6d 6d 61 6e 64 20 | 61 64 64 73 20 65 6e 74 |command |adds ent|
|00001900| 72 69 65 73 20 74 6f 0a | 61 20 73 74 61 74 69 63 |ries to.|a static|
|00001910| 20 72 6f 75 74 69 6e 67 | 20 74 61 62 6c 65 2c 20 | routing| table, |
|00001920| 63 75 72 72 65 6e 74 6c | 79 20 31 32 38 20 65 6e |currentl|y 128 en|
|00001930| 74 72 69 65 73 20 64 65 | 65 70 2e 20 20 49 6e 20 |tries de|ep. In |
|00001940| 74 68 65 20 65 78 61 6d | 70 6c 65 2c 20 41 58 2e |the exam|ple, AX.|
|00001950| 32 35 0a 66 72 61 6d 65 | 73 20 64 65 73 74 69 6e |25.frame|s destin|
|00001960| 65 64 20 66 6f 72 20 57 | 31 41 57 2d 31 33 20 61 |ed for W|1AW-13 a|
|00001970| 72 65 20 66 6f 72 77 61 | 72 64 65 64 20 74 6f 20 |re forwa|rded to |
|00001980| 68 61 6e 64 62 6f 6f 6b | 2e 61 72 72 6c 2e 63 6f |handbook|.arrl.co|
|00001990| 6d 2c 20 66 72 61 6d 65 | 73 20 66 6f 72 0a 57 5a |m, frame|s for.WZ|
|000019a0| 39 5a 5a 5a 20 61 72 65 | 20 73 65 6e 74 20 74 6f |9ZZZ are| sent to|
|000019b0| 20 6c 61 73 74 2e 6f 6e | 65 2e 65 64 75 2c 20 61 | last.on|e.edu, a|
|000019c0| 6e 64 20 61 6c 6c 20 6f | 74 68 65 72 73 20 67 6f |nd all o|thers go|
|000019d0| 20 6e 6f 77 68 65 72 65 | 2e 20 20 53 70 65 63 69 | nowhere|. Speci|
|000019e0| 66 79 69 6e 67 20 74 68 | 65 0a 77 6f 72 64 20 22 |fying th|e.word "|
|000019f0| 64 65 66 61 75 6c 74 22 | 20 69 6e 20 70 6c 61 63 |default"| in plac|
|00001a00| 65 20 6f 66 20 61 20 63 | 61 6c 6c 73 69 67 6e 20 |e of a c|allsign |
|00001a10| 73 65 74 73 20 75 70 20 | 61 20 64 65 66 61 75 6c |sets up |a defaul|
|00001a20| 74 20 72 6f 75 74 65 2c | 20 75 73 65 64 20 77 68 |t route,| used wh|
|00001a30| 65 6e 0a 74 68 65 20 64 | 65 73 74 69 6e 61 74 69 |en.the d|estinati|
|00001a40| 6f 6e 20 63 61 6c 6c 73 | 69 67 6e 20 63 61 6e 6e |on calls|ign cann|
|00001a50| 6f 74 20 62 65 20 66 6f | 75 6e 64 20 69 6e 20 74 |ot be fo|und in t|
|00001a60| 68 65 20 72 6f 75 74 69 | 6e 67 20 74 61 62 6c 65 |he routi|ng table|
|00001a70| 2e 20 20 46 69 6e 61 6c | 6c 79 2c 0a 69 6e 20 64 |. Final|ly,.in d|
|00001a80| 69 67 69 20 6d 6f 64 65 | 2c 20 74 68 65 20 64 65 |igi mode|, the de|
|00001a90| 76 69 63 65 20 6f 6e 20 | 74 68 65 20 6f 74 68 65 |vice on |the othe|
|00001aa0| 72 20 65 6e 64 20 6f 66 | 20 74 68 65 20 4b 49 53 |r end of| the KIS|
|00001ab0| 53 20 69 6e 74 65 72 66 | 61 63 65 20 69 73 20 70 |S interf|ace is p|
|00001ac0| 72 6f 62 61 62 6c 79 0a | 61 20 54 4e 43 2e 20 20 |robably.|a TNC. |
|00001ad0| 54 68 65 20 70 61 72 61 | 6d 20 63 6f 6d 6d 61 6e |The para|m comman|
|00001ae0| 64 20 61 6c 6c 6f 77 73 | 20 79 6f 75 20 74 6f 20 |d allows| you to |
|00001af0| 73 65 74 20 74 68 65 20 | 4b 49 53 53 20 70 61 72 |set the |KISS par|
|00001b00| 61 6d 65 74 65 72 73 20 | 28 74 78 64 65 6c 61 79 |ameters |(txdelay|
|00001b10| 2c 0a 73 6c 6f 74 74 69 | 6d 65 2c 20 65 74 63 29 |,.slotti|me, etc)|
|00001b20| 2e 20 20 41 73 20 6d 61 | 6e 79 20 70 61 72 61 6d |. As ma|ny param|
|00001b30| 20 63 6f 6d 6d 61 6e 64 | 73 20 61 73 20 72 65 71 | command|s as req|
|00001b40| 75 69 72 65 64 20 63 61 | 6e 20 62 65 20 73 70 65 |uired ca|n be spe|
|00001b50| 63 69 66 69 65 64 2e 0a | 0a 54 68 65 20 6d 79 61 |cified..|.The mya|
|00001b60| 6c 69 61 73 20 63 6f 6d | 6d 61 6e 64 20 61 6c 6c |lias com|mand all|
|00001b70| 6f 77 73 20 79 6f 75 20 | 74 6f 20 73 70 65 63 69 |ows you |to speci|
|00001b80| 66 79 20 61 6e 20 61 6c | 69 61 73 20 66 6f 72 20 |fy an al|ias for |
|00001b90| 74 68 69 73 20 64 69 67 | 69 70 65 61 74 65 72 2e |this dig|ipeater.|
|00001ba0| 0a 49 66 20 79 6f 75 20 | 64 6f 20 74 68 69 73 2c |.If you |do this,|
|00001bb0| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 70 72 6f 62 | you sho|uld prob|
|00001bc0| 61 62 6c 79 20 75 73 65 | 20 74 68 65 20 62 65 61 |ably use| the bea|
|00001bd0| 63 6f 6e 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 65 |con comm|and to e|
|00001be0| 6e 73 75 72 65 0a 74 68 | 61 74 20 79 6f 75 20 49 |nsure.th|at you I|
|00001bf0| 44 20 72 65 67 75 6c 61 | 72 6c 79 2e 20 20 54 68 |D regula|rly. Th|
|00001c00| 65 20 62 65 61 63 6f 6e | 20 65 76 65 72 79 20 35 |e beacon| every 5|
|00001c10| 34 30 20 63 6f 6d 6d 61 | 6e 64 20 66 6f 72 63 65 |40 comma|nd force|
|00001c20| 73 20 61 6e 20 49 44 20 | 6d 65 73 73 61 67 65 0a |s an ID |message.|
|00001c30| 74 6f 20 62 65 20 73 65 | 6e 74 20 6f 75 74 20 74 |to be se|nt out t|
|00001c40| 68 65 20 4b 49 53 53 20 | 69 6e 74 65 72 66 61 63 |he KISS |interfac|
|00001c50| 65 20 65 76 65 72 79 20 | 39 20 6d 69 6e 75 74 65 |e every |9 minute|
|00001c60| 73 2e 20 20 53 70 65 63 | 69 66 79 69 6e 67 20 62 |s. Spec|ifying b|
|00001c70| 65 61 63 6f 6e 0a 61 66 | 74 65 72 20 35 34 30 20 |eacon.af|ter 540 |
|00001c80| 77 69 6c 6c 20 73 65 6e | 64 20 74 68 65 20 49 44 |will sen|d the ID|
|00001c90| 20 70 61 63 6b 65 74 20 | 6f 6e 6c 79 20 69 66 20 | packet |only if |
|00001ca0| 74 68 65 20 63 68 61 6e | 6e 65 6c 20 68 61 73 20 |the chan|nel has |
|00001cb0| 62 65 65 6e 20 69 64 6c | 65 20 66 6f 72 0a 39 20 |been idl|e for.9 |
|00001cc0| 6d 69 6e 75 74 65 73 2e | 0a 0a 53 65 6e 64 69 6e |minutes.|..Sendin|
|00001cd0| 67 20 61 20 68 61 6e 67 | 2d 75 70 20 73 69 67 6e |g a hang|-up sign|
|00001ce0| 61 6c 20 74 6f 20 74 68 | 65 20 61 78 32 35 69 70 |al to th|e ax25ip|
|00001cf0| 20 70 72 6f 63 65 73 73 | 20 77 69 6c 6c 20 63 61 | process| will ca|
|00001d00| 75 73 65 20 69 74 20 74 | 6f 20 72 65 72 65 61 64 |use it t|o reread|
|00001d10| 0a 74 68 65 20 63 6f 6e | 66 69 67 75 72 61 74 69 |.the con|figurati|
|00001d20| 6f 6e 20 66 69 6c 65 20 | 61 6e 64 20 72 65 2d 69 |on file |and re-i|
|00001d30| 6e 69 74 69 61 6c 69 7a | 65 20 69 74 73 65 6c 66 |nitializ|e itself|
|00001d40| 20 20 28 6b 69 6c 6c 20 | 2d 48 55 50 20 3c 61 78 | (kill |-HUP <ax|
|00001d50| 32 35 69 70 2d 70 69 64 | 3e 29 2e 0a 0a 0a 53 61 |25ip-pid|>)....Sa|
|00001d60| 6d 70 6c 65 20 43 6f 6e | 66 69 67 75 72 61 74 69 |mple Con|figurati|
|00001d70| 6f 6e 20 2d 20 4e 4f 53 | 2d 74 6f 2d 4e 4f 53 0a |on - NOS|-to-NOS.|
|00001d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001da0| 2d 0a 0a 20 20 20 54 68 | 69 73 20 65 78 61 6d 70 |-.. Th|is examp|
|00001db0| 6c 65 20 73 68 6f 77 73 | 20 68 6f 77 20 74 6f 20 |le shows| how to |
|00001dc0| 63 6f 6e 6e 65 63 74 20 | 61 20 70 61 69 72 20 6f |connect |a pair o|
|00001dd0| 66 20 4e 4f 53 2d 62 61 | 73 65 64 20 50 43 73 20 |f NOS-ba|sed PCs |
|00001de0| 74 6f 67 65 74 68 65 72 | 0a 75 73 69 6e 67 20 61 |together|.using a|
|00001df0| 78 32 35 69 70 20 74 6f | 20 63 61 72 72 79 20 41 |x25ip to| carry A|
|00001e00| 58 2e 32 35 20 74 72 61 | 66 66 69 63 2e 0a 0a 0a |X.25 tra|ffic....|
|00001e10| 20 20 20 20 4b 41 39 57 | 53 42 2d 33 20 20 20 20 | KA9W|SB-3 |
|00001e20| 20 20 20 20 20 6f 6e 65 | 2e 74 77 6f 2e 63 6f 6d | one|.two.com|
|00001e30| 0a 20 20 2e 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2e 20 |. .----|------. |
|00001e40| 20 20 20 20 20 2e 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | .--|--------|
|00001e50| 2e 0a 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 7c |.. | | ||
|00001e60| 20 20 20 20 20 20 7c 20 | 20 20 20 20 20 20 20 20 | | | |
|00001e70| 20 7c 0a 20 20 7c 20 20 | 20 20 20 20 20 20 20 20 | |. | | |
|00001e80| 7c 20 4b 49 53 53 20 7c | 20 55 4e 49 58 20 20 20 || KISS || UNIX |
|00001e90| 20 20 7c 20 20 20 7c 0a | 20 20 7c 20 20 4e 4f 53 | | |.| | NOS|
|00001ea0| 20 20 20 20 20 7c 2d 2d | 2d 2d 2d 2d 7c 20 20 68 | |--|----| h|
|00001eb0| 6f 73 74 20 20 20 20 7c | 2d 2d 2d 7c 0a 20 20 7c |ost ||---|. ||
|00001ec0| 20 20 20 6f 6e 20 20 20 | 20 20 7c 20 20 20 20 20 | on | | |
|00001ed0| 20 7c 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 20 | | | | |
|00001ee0| 7c 20 20 54 43 50 2f 49 | 50 20 6e 65 74 77 6f 72 || TCP/I|P networ|
|00001ef0| 6b 0a 20 20 7c 20 20 20 | 20 50 43 20 20 20 20 7c |k. | | PC ||
|00001f00| 20 20 20 20 20 20 7c 20 | 20 20 20 20 20 20 20 20 | | | |
|00001f10| 20 7c 20 20 20 7c 0a 20 | 20 60 2d 2d 2d 2d 2d 2d | | |. | `------|
|00001f20| 2d 2d 2d 2d 27 20 20 20 | 20 20 20 60 2d 2d 2d 2d |----' | `----|
|00001f30| 2d 2d 2d 2d 2d 2d 27 20 | 20 20 7c 0a 20 20 20 20 |------' | |. |
|00001f40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00001f60| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001f70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 76 | | (v|
|00001f80| 61 73 74 20 64 69 73 74 | 61 6e 63 65 29 0a 20 20 |ast dist|ance). |
|00001f90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fb0| 20 7c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | |. | |
|00001fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fd0| 20 20 20 20 20 20 7c 20 | 20 20 66 69 73 68 2e 73 | | | fish.s|
|00001fe0| 65 61 2e 63 6f 6d 20 20 | 20 20 20 20 20 20 57 31 |ea.com | W1|
|00001ff0| 41 57 2d 35 0a 20 20 20 | 20 20 20 20 20 20 20 20 |AW-5. | |
|00002000| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002010| 20 20 20 20 20 20 20 20 | 7c 20 20 20 2e 2d 2d 2d | || .---|
|00002020| 2d 2d 2d 2d 2d 2d 2d 2e | 20 20 20 20 20 20 2e 2d |-------.| .-|
|00002030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2e 0a 20 20 20 20 20 |--------|-.. |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7c 20 | | | |
|00002060| 20 20 7c 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | | |
|00002070| 20 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 7c | | | ||
|00002080| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020a0| 20 20 20 20 7c 20 20 20 | 7c 20 55 4e 49 58 20 20 | | || UNIX |
|000020b0| 20 20 20 7c 20 4b 49 53 | 53 20 7c 20 20 20 20 20 | | KIS|S | |
|000020c0| 20 20 20 20 20 7c 0a 20 | 20 20 20 20 20 20 20 20 | |. | |
|000020d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 7c 2d 2d 2d 7c 20 | | |---| |
|000020f0| 20 68 6f 73 74 20 20 20 | 20 7c 2d 2d 2d 2d 2d 2d | host | |------|
|00002100| 7c 20 20 4e 4f 53 20 20 | 20 20 20 7c 0a 20 20 20 || NOS | |. |
|00002110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002130| 7c 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 7c || | | ||
|00002140| 20 31 32 30 30 20 7c 20 | 20 20 6f 6e 20 20 20 20 | 1200 | | on |
|00002150| 20 7c 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | |. | |
|00002160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 7c 20 20 20 20 20 | | | |
|00002180| 20 20 20 20 20 7c 20 62 | 61 75 64 20 7c 20 20 20 | | b|aud | |
|00002190| 20 50 43 20 20 20 20 7c | 0a 20 20 20 20 20 20 20 | PC ||. |
|000021a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021c0| 60 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 27 20 20 20 20 |`-------|---' |
|000021d0| 20 20 60 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 27 0a 0a | `-----|-----'..|
|000021e0| 0a 20 20 20 20 20 43 6f | 6e 66 69 67 20 66 69 6c |. Co|nfig fil|
|000021f0| 65 3a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |e: | |
|00002200| 20 20 20 20 20 20 20 20 | 20 20 43 6f 6e 66 69 67 | | Config|
|00002210| 20 66 69 6c 65 3a 0a 20 | 20 20 20 20 20 6d 6f 64 | file:. | mod|
|00002220| 65 20 74 6e 63 20 20 20 | 20 20 20 20 20 20 20 20 |e tnc | |
|00002230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002240| 20 6d 6f 64 65 20 74 6e | 63 0a 20 20 20 20 20 20 | mode tn|c. |
|00002250| 64 65 76 69 63 65 20 2f | 64 65 76 2f 74 74 79 61 |device /|dev/ttya|
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002270| 20 20 20 20 64 65 76 69 | 63 65 20 2f 64 65 76 2f | devi|ce /dev/|
|00002280| 74 74 79 61 0a 20 20 20 | 20 20 20 73 70 65 65 64 |ttya. | speed|
|00002290| 20 39 36 30 30 20 20 20 | 20 20 20 20 20 20 20 20 | 9600 | |
|000022a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 73 | | s|
|000022b0| 70 65 65 64 20 31 32 30 | 30 0a 20 20 20 20 20 20 |peed 120|0. |
|000022c0| 72 6f 75 74 65 20 57 31 | 41 57 2d 35 20 66 69 73 |route W1|AW-5 fis|
|000022d0| 68 2e 73 65 61 2e 63 6f | 6d 20 20 20 20 20 20 20 |h.sea.co|m |
|000022e0| 20 20 20 20 72 6f 75 74 | 65 20 4b 41 39 57 53 42 | rout|e KA9WSB|
|000022f0| 2d 33 20 6f 6e 65 2e 74 | 77 6f 2e 63 6f 6d 0a 20 |-3 one.t|wo.com. |
|00002300| 20 0a 55 73 69 6e 67 20 | 74 68 69 73 20 73 65 74 | .Using |this set|
|00002310| 75 70 2c 20 61 20 75 73 | 65 72 20 63 6f 75 6c 64 |up, a us|er could|
|00002320| 20 72 75 6e 20 41 58 2e | 32 35 20 63 6f 6e 6e 65 | run AX.|25 conne|
|00002330| 63 74 69 6f 6e 73 20 62 | 65 74 77 65 65 6e 20 74 |ctions b|etween t|
|00002340| 68 65 20 74 77 6f 20 50 | 43 73 2e 0a 4e 6f 74 65 |he two P|Cs..Note|
|00002350| 20 74 68 61 74 20 77 68 | 69 6c 65 20 4e 4f 53 20 | that wh|ile NOS |
|00002360| 63 61 6e 20 64 69 67 69 | 70 65 61 74 2c 20 4e 4f |can digi|peat, NO|
|00002370| 53 20 77 69 6c 6c 20 6e | 6f 74 20 61 75 74 6f 6d |S will n|ot autom|
|00002380| 61 74 69 63 61 6c 6c 79 | 20 61 6c 6c 6f 77 20 75 |atically| allow u|
|00002390| 73 65 72 73 0a 6e 65 61 | 72 20 57 31 41 57 2d 35 |sers.nea|r W1AW-5|
|000023a0| 20 74 6f 20 64 69 67 69 | 70 65 61 74 20 74 68 72 | to digi|peat thr|
|000023b0| 6f 75 67 68 20 69 74 20 | 74 6f 20 72 65 61 63 68 |ough it |to reach|
|000023c0| 20 4b 41 39 57 53 42 2d | 33 20 28 69 2e 65 2e 20 | KA9WSB-|3 (i.e. |
|000023d0| 74 68 65 20 63 6f 6d 6d | 61 6e 64 0a 22 43 20 4b |the comm|and."C K|
|000023e0| 41 39 57 53 42 2d 33 20 | 56 20 57 31 41 57 2d 35 |A9WSB-3 |V W1AW-5|
|000023f0| 22 20 77 69 6c 6c 20 6e | 6f 74 20 68 61 76 65 20 |" will n|ot have |
|00002400| 74 68 65 20 64 65 73 69 | 72 65 64 20 72 65 73 75 |the desi|red resu|
|00002410| 6c 74 29 2e 20 20 54 68 | 69 73 20 6d 61 79 20 6f |lt). Th|is may o|
|00002420| 72 20 6d 61 79 0a 6e 6f | 74 20 62 65 20 61 20 70 |r may.no|t be a p|
|00002430| 72 6f 62 6c 65 6d 2e 0a | 0a 0a 53 61 6d 70 6c 65 |roblem..|..Sample|
|00002440| 20 43 6f 6e 66 69 67 75 | 72 61 74 69 6f 6e 20 2d | Configu|ration -|
|00002450| 20 64 69 67 69 2d 74 6f | 2d 64 69 67 69 0a 2d 2d | digi-to|-digi.--|
|00002460| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002470| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002480| 2d 0a 0a 20 20 20 54 68 | 69 73 20 65 78 61 6d 70 |-.. Th|is examp|
|00002490| 6c 65 20 73 68 6f 77 73 | 20 68 6f 77 20 74 6f 20 |le shows| how to |
|000024a0| 63 6f 6e 66 69 67 75 72 | 65 20 61 78 32 35 69 70 |configur|e ax25ip|
|000024b0| 20 61 73 20 61 20 70 61 | 69 72 20 6f 66 20 64 69 | as a pa|ir of di|
|000024c0| 67 69 70 65 61 74 65 72 | 73 2e 0a 0a 0a 20 20 20 |gipeater|s.... |
|000024d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024e0| 20 20 20 28 4b 41 39 57 | 53 42 2d 33 29 0a 20 20 | (KA9W|SB-3). |
|000024f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002500| 20 20 20 6f 6e 65 2e 74 | 77 6f 2e 63 6f 6d 0a 20 | one.t|wo.com. |
|00002510| 20 2e 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2e 20 20 20 | .------|----. |
|00002520| 20 20 20 2e 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2e 0a | .----|------..|
|00002530| 20 20 7c 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | | |
|00002540| 20 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 7c | | | ||
|00002550| 0a 20 20 7c 20 53 74 61 | 6e 64 61 72 64 20 7c 20 |. | Sta|ndard | |
|00002560| 4b 49 53 53 20 7c 20 55 | 4e 49 58 20 20 20 20 20 |KISS | U|NIX |
|00002570| 7c 20 20 20 7c 0a 20 20 | 7c 20 20 20 4b 49 53 53 || |. || KISS|
|00002580| 20 20 20 7c 2d 2d 2d 2d | 2d 2d 7c 20 20 68 6f 73 | |----|--| hos|
|00002590| 74 20 20 20 20 7c 2d 2d | 2d 7c 0a 20 20 7c 20 20 |t |--|-|. | |
|000025a0| 20 54 4e 43 20 20 20 20 | 7c 20 20 20 20 20 20 7c | TNC || ||
|000025b0| 20 20 20 20 20 20 20 20 | 20 20 7c 20 20 20 7c 20 | | | | |
|000025c0| 20 54 43 50 2f 49 50 20 | 6e 65 74 77 6f 72 6b 0a | TCP/IP |network.|
|000025d0| 20 20 7c 20 26 20 72 61 | 64 69 6f 20 20 7c 20 20 | | & ra|dio | |
|000025e0| 20 20 20 20 7c 20 20 20 | 20 20 20 20 20 20 20 7c | | | ||
|000025f0| 20 20 20 7c 0a 20 20 60 | 2d 2d 2d 2d 2d 2d 2d 2d | |. `|--------|
|00002600| 2d 2d 27 20 20 20 20 20 | 20 60 2d 2d 2d 2d 2d 2d |--' | `------|
|00002610| 2d 2d 2d 2d 27 20 20 20 | 7c 0a 20 20 20 20 20 20 |----' ||. |
|00002620| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 0a 20 | | |. |
|00002640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002650| 20 20 20 20 20 20 20 20 | 20 20 20 20 28 76 61 73 | | (vas|
|00002660| 74 20 64 69 73 74 61 6e | 63 65 29 0a 20 20 20 20 |t distan|ce). |
|00002670| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002680| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00002690| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000026a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026b0| 20 20 20 20 7c 20 20 20 | 20 28 57 31 41 57 2d 35 | | | (W1AW-5|
|000026c0| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|000026d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000026e0| 20 20 20 20 20 7c 20 20 | 20 66 69 73 68 2e 73 65 | | | fish.se|
|000026f0| 61 2e 63 6f 6d 20 20 20 | 20 20 20 20 20 57 31 41 |a.com | W1A|
|00002700| 57 2d 35 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |W-5. | |
|00002710| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002720| 20 20 20 20 20 20 20 7c | 20 20 20 2e 2d 2d 2d 2d | || .----|
|00002730| 2d 2d 2d 2d 2d 2d 2e 20 | 20 20 20 20 20 2e 2d 2d |------. | .--|
|00002740| 2d 2d 2d 2d 2d 2d 2d 2d | 2e 0a 20 20 20 20 20 20 |--------|.. |
|00002750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 20 | | | |
|00002770| 20 7c 20 20 20 20 20 20 | 20 20 20 20 7c 20 20 20 | | | | |
|00002780| 20 20 20 7c 20 20 20 20 | 20 20 20 20 20 20 7c 0a | | | |.|
|00002790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027b0| 20 20 20 7c 20 20 20 7c | 20 55 4e 49 58 20 20 20 | | || UNIX |
|000027c0| 20 20 7c 20 4b 49 53 53 | 20 7c 20 53 74 61 6e 64 | | KISS| | Stand|
|000027d0| 61 72 64 20 7c 0a 20 20 | 20 20 20 20 20 20 20 20 |ard |. | |
|000027e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000027f0| 20 20 20 20 20 20 20 20 | 20 7c 2d 2d 2d 7c 20 20 | | |---| |
|00002800| 68 6f 73 74 20 20 20 20 | 7c 2d 2d 2d 2d 2d 2d 7c |host ||------||
|00002810| 20 20 20 4b 49 53 53 20 | 20 20 7c 0a 20 20 20 20 | KISS | |. |
|00002820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c | | ||
|00002840| 20 20 20 7c 20 20 20 20 | 20 20 20 20 20 20 7c 20 | | | | |
|00002850| 39 36 30 30 20 7c 20 20 | 20 54 4e 43 20 20 20 20 |9600 | | TNC |
|00002860| 7c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 ||. | |
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002880| 20 20 20 20 20 20 20 20 | 20 7c 20 20 20 20 20 20 | | | |
|00002890| 20 20 20 20 7c 20 62 61 | 75 64 20 7c 20 26 20 72 | | ba|ud | & r|
|000028a0| 61 64 69 6f 20 20 7c 0a | 20 20 20 20 20 20 20 20 |adio |.| |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000028c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 60 | | `|
|000028d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 27 20 20 20 20 20 |--------|--' |
|000028e0| 20 60 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 27 0a 0a 0a | `------|----'...|
|000028f0| 20 20 20 20 20 43 6f 6e | 66 69 67 20 66 69 6c 65 | Con|fig file|
|00002900| 3a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |: | |
|00002910| 20 20 20 20 20 20 20 20 | 20 43 6f 6e 66 69 67 20 | | Config |
|00002920| 66 69 6c 65 3a 0a 20 20 | 20 20 20 20 6d 6f 64 65 |file:. | mode|
|00002930| 20 64 69 67 69 20 20 20 | 20 20 20 20 20 20 20 20 | digi | |
|00002940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002950| 6d 6f 64 65 20 64 69 67 | 69 0a 20 20 20 20 20 20 |mode dig|i. |
|00002960| 6d 79 63 61 6c 6c 20 4b | 41 39 57 53 42 2d 33 20 |mycall K|A9WSB-3 |
|00002970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002980| 20 20 20 20 6d 79 63 61 | 6c 6c 20 57 31 41 57 2d | myca|ll W1AW-|
|00002990| 35 0a 20 20 20 20 20 20 | 64 65 76 69 63 65 20 2f |5. |device /|
|000029a0| 64 65 76 2f 74 74 79 61 | 20 20 20 20 20 20 20 20 |dev/ttya| |
|000029b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 64 65 76 69 | | devi|
|000029c0| 63 65 20 2f 64 65 76 2f | 74 74 79 61 0a 20 20 20 |ce /dev/|ttya. |
|000029d0| 20 20 20 73 70 65 65 64 | 20 39 36 30 30 20 20 20 | speed| 9600 |
|000029e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000029f0| 20 20 20 20 20 20 20 73 | 70 65 65 64 20 39 36 30 | s|peed 960|
|00002a00| 30 0a 20 20 20 20 20 20 | 72 6f 75 74 65 20 57 31 |0. |route W1|
|00002a10| 41 57 2d 35 20 66 69 73 | 68 2e 73 65 61 2e 63 6f |AW-5 fis|h.sea.co|
|00002a20| 6d 20 20 20 20 20 20 20 | 20 20 20 20 72 6f 75 74 |m | rout|
|00002a30| 65 20 4b 41 39 57 53 42 | 2d 33 20 6f 6e 65 2e 74 |e KA9WSB|-3 one.t|
|00002a40| 77 6f 2e 63 6f 6d 0a 20 | 20 20 20 20 20 70 61 72 |wo.com. | par|
|00002a50| 61 6d 20 31 20 32 30 20 | 20 20 20 20 20 20 20 20 |am 1 20 | |
|00002a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a70| 20 70 61 72 61 6d 20 31 | 20 33 33 20 20 0a 0a 49 | param 1| 33 ..I|
|00002a80| 6e 20 74 68 69 73 20 73 | 65 74 75 70 2c 20 74 68 |n this s|etup, th|
|00002a90| 65 20 55 4e 49 58 20 68 | 6f 73 74 73 20 61 72 65 |e UNIX h|osts are|
|00002aa0| 20 22 6f 6e 20 74 68 65 | 20 61 69 72 22 2e 20 20 | "on the| air". |
|00002ab0| 4e 6f 20 50 43 73 20 6f | 72 20 61 64 64 69 74 69 |No PCs o|r additi|
|00002ac0| 6f 6e 61 6c 0a 68 61 72 | 64 77 61 72 65 20 61 72 |onal.har|dware ar|
|00002ad0| 65 20 72 65 71 75 69 72 | 65 64 2e 20 20 41 20 75 |e requir|ed. A u|
|00002ae0| 73 65 72 20 6e 65 61 72 | 20 57 31 41 57 2d 35 20 |ser near| W1AW-5 |
|00002af0| 63 6f 75 6c 64 20 72 65 | 61 64 20 61 20 75 73 65 |could re|ad a use|
|00002b00| 72 20 6e 65 61 72 20 4b | 41 39 57 53 42 2d 33 0a |r near K|A9WSB-3.|
|00002b10| 73 69 6d 70 6c 79 20 62 | 79 20 70 72 6f 76 69 64 |simply b|y provid|
|00002b20| 69 6e 67 20 74 68 65 20 | 64 69 67 69 70 65 61 74 |ing the |digipeat|
|00002b30| 65 72 20 70 61 74 68 3a | 20 22 63 20 4b 41 39 57 |er path:| "c KA9W|
|00002b40| 53 42 20 56 20 57 31 41 | 57 2d 35 20 4b 41 39 57 |SB V W1A|W-5 KA9W|
|00002b50| 53 42 2d 33 22 0a 77 6f | 75 6c 64 20 77 6f 72 6b |SB-3".wo|uld work|
|00002b60| 20 6a 75 73 74 20 66 69 | 6e 65 2e 0a 0a 0a 4f 75 | just fi|ne....Ou|
|00002b70| 74 73 74 61 6e 64 69 6e | 67 20 49 73 73 75 65 73 |tstandin|g Issues|
|00002b80| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00002b90| 2d 2d 2d 0a 0a 20 20 20 | 54 68 65 72 65 20 61 72 |---.. |There ar|
|00002ba0| 65 20 6d 61 6e 79 20 6f | 75 74 73 74 61 6e 64 69 |e many o|utstandi|
|00002bb0| 6e 67 20 69 73 73 75 65 | 73 20 77 69 74 68 20 74 |ng issue|s with t|
|00002bc0| 68 69 73 20 73 6f 66 74 | 77 61 72 65 2e 20 20 41 |his soft|ware. A|
|00002bd0| 20 70 61 72 74 69 61 6c | 20 6c 69 73 74 2c 0a 69 | partial| list,.i|
|00002be0| 6e 20 6e 6f 20 70 61 72 | 74 69 63 75 6c 61 72 20 |n no par|ticular |
|00002bf0| 6f 72 64 65 72 2c 20 61 | 70 70 65 61 72 73 20 62 |order, a|ppears b|
|00002c00| 65 6c 6f 77 2e 0a 0a 2d | 20 50 6f 72 74 61 62 69 |elow...-| Portabi|
|00002c10| 6c 69 74 79 21 20 20 69 | 6f 2e 63 20 63 75 72 72 |lity! i|o.c curr|
|00002c20| 65 6e 74 6c 79 20 75 73 | 65 73 20 42 53 44 2d 73 |ently us|es BSD-s|
|00002c30| 74 79 6c 65 20 73 65 6c | 65 63 74 20 62 75 74 20 |tyle sel|ect but |
|00002c40| 73 79 73 35 2d 73 74 79 | 6c 65 20 74 65 72 6d 69 |sys5-sty|le termi|
|00002c50| 6f 73 21 0a 0a 2d 20 49 | 43 4d 50 20 6d 65 73 73 |os!..- I|CMP mess|
|00002c60| 61 67 65 73 20 72 65 6c | 61 74 69 6e 67 20 74 6f |ages rel|ating to|
|00002c70| 20 61 78 32 35 69 70 20 | 61 72 65 20 69 67 6e 6f | ax25ip |are igno|
|00002c80| 72 65 64 2e 0a 0a 2d 20 | 50 65 72 66 6f 72 6d 61 |red...- |Performa|
|00002c90| 6e 63 65 20 6f 66 20 74 | 68 65 20 72 6f 75 74 69 |nce of t|he routi|
|00002ca0| 6e 67 20 6c 6f 6f 6b 75 | 70 73 20 69 73 20 70 72 |ng looku|ps is pr|
|00002cb0| 6f 62 61 62 6c 79 20 68 | 6f 72 72 69 64 2e 20 20 |obably h|orrid. |
|00002cc0| 41 6c 73 6f 2c 20 61 20 | 73 74 61 74 69 63 0a 20 |Also, a |static. |
|00002cd0| 20 74 61 62 6c 65 20 69 | 73 20 61 20 63 72 6f 63 | table i|s a croc|
|00002ce0| 6b 2e 20 20 46 65 65 64 | 62 61 63 6b 20 66 72 6f |k. Feed|back fro|
|00002cf0| 6d 20 65 76 61 6c 75 61 | 74 69 6f 6e 73 20 61 6e |m evalua|tions an|
|00002d00| 64 20 74 65 73 74 20 73 | 69 74 65 73 20 6d 61 79 |d test s|ites may|
|00002d10| 20 68 65 6c 70 0a 20 20 | 64 65 74 65 72 6d 69 6e | help. |determin|
|00002d20| 65 20 68 6f 77 20 74 68 | 69 73 20 73 68 6f 75 6c |e how th|is shoul|
|00002d30| 64 20 77 6f 72 6b 2e 0a | 0a 2d 20 53 74 61 74 69 |d work..|.- Stati|
|00002d40| 73 74 69 63 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |stics sh|ould be |
|00002d50| 61 64 64 65 64 2e 0a 0a | 2d 20 41 20 66 65 77 20 |added...|- A few |
|00002d60| 6d 6f 72 65 20 63 6f 6d | 6d 65 6e 74 73 20 69 6e |more com|ments in|
|00002d70| 20 74 68 65 20 63 6f 64 | 65 20 77 6f 75 6c 64 20 | the cod|e would |
|00002d80| 62 65 20 6e 69 63 65 2e | 0a 0a 0a 43 6f 6d 6d 65 |be nice.|...Comme|
|00002d90| 6e 74 73 2c 20 43 72 69 | 74 69 63 69 73 6d 2c 20 |nts, Cri|ticism, |
|00002da0| 45 6e 68 61 6e 63 65 6d | 65 6e 74 73 2c 20 50 72 |Enhancem|ents, Pr|
|00002db0| 6f 62 6c 65 6d 73 2c 20 | 42 75 67 73 0a 2d 2d 2d |oblems, |Bugs.---|
|00002dc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|00002df0| 20 20 20 59 6f 75 20 63 | 61 6e 20 72 65 61 63 68 | You c|an reach|
|00002e00| 20 74 68 65 20 70 65 72 | 73 6f 6e 20 72 65 73 70 | the per|son resp|
|00002e10| 6f 6e 73 69 62 6c 65 20 | 66 6f 72 20 61 78 32 35 |onsible |for ax25|
|00002e20| 69 70 20 61 74 20 61 6e | 79 20 6f 66 20 74 68 65 |ip at an|y of the|
|00002e30| 20 66 6f 6c 6c 6f 77 69 | 6e 67 0a 20 20 20 61 64 | followi|ng. ad|
|00002e40| 64 72 65 73 73 65 73 3a | 0a 0a 20 20 20 4d 69 6b |dresses:|.. Mik|
|00002e50| 65 2e 57 65 73 74 65 72 | 68 6f 66 40 43 65 6e 74 |e.Wester|hof@Cent|
|00002e60| 72 61 6c 2e 53 75 6e 2e | 43 4f 4d 0a 0a 20 20 20 |ral.Sun.|COM.. |
|00002e70| 4b 41 39 57 53 42 40 57 | 42 39 59 41 45 0a 0a 20 |KA9WSB@W|B9YAE.. |
|00002e80| 20 20 4d 69 6b 65 20 57 | 65 73 74 65 72 68 6f 66 | Mike W|esterhof|
|00002e90| 2c 20 31 37 20 4e 20 4d | 61 69 6e 20 53 74 2c 20 |, 17 N M|ain St, |
|00002ea0| 4d 74 20 50 72 6f 73 70 | 65 63 74 2c 20 49 4c 20 |Mt Prosp|ect, IL |
|00002eb0| 36 30 30 35 36 0a 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |60056..-|--------|
|00002ec0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ed0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ee0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002ef0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002f00| 0a 43 6f 70 79 72 69 67 | 68 74 20 31 39 39 31 2c |.Copyrig|ht 1991,|
|00002f10| 20 4d 69 63 68 61 65 6c | 20 57 65 73 74 65 72 68 | Michael| Westerh|
|00002f20| 6f 66 2c 20 53 75 6e 20 | 4d 69 63 72 6f 73 79 73 |of, Sun |Microsys|
|00002f30| 74 65 6d 73 2c 20 49 6e | 63 2e 0a 54 68 69 73 20 |tems, In|c..This |
|00002f40| 73 6f 66 74 77 61 72 65 | 20 6d 61 79 20 62 65 20 |software| may be |
|00002f50| 66 72 65 65 6c 79 20 75 | 73 65 64 2c 20 64 69 73 |freely u|sed, dis|
|00002f60| 74 72 69 62 75 74 65 64 | 2c 20 6f 72 20 6d 6f 64 |tributed|, or mod|
|00002f70| 69 66 69 65 64 2c 20 70 | 72 6f 76 69 64 69 6e 67 |ified, p|roviding|
|00002f80| 0a 74 68 69 73 20 66 6f | 6f 74 65 72 20 69 73 20 |.this fo|oter is |
|00002f90| 6e 6f 74 20 72 65 6d 6f | 76 65 64 2e 0a 2d 2d 2d |not remo|ved..---|
|00002fa0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002fb0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00002fe0| 2d 2d 2d 2d 2d 2d 0a 00 | 00 00 00 00 00 00 00 00 |------..|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 61 78 32 35 69 70 2f 61 | 78 32 35 69 70 2e 63 66 |ax25ip/a|x25ip.cf|
|00003010| 67 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |g.......|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00003070| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00003080| 20 20 20 33 30 30 32 20 | 20 35 37 31 34 37 37 36 | 3002 | 5714776|
|00003090| 31 35 31 20 20 31 32 33 | 30 36 00 20 30 00 00 00 |151 123|06. 0...|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 23 20 53 61 6d 70 6c 65 | 20 61 78 32 35 69 70 20 |# Sample| ax25ip |
|00003210| 63 6f 6e 66 69 67 75 72 | 61 74 69 6f 6e 20 66 69 |configur|ation fi|
|00003220| 6c 65 0a 23 0a 23 20 46 | 69 72 73 74 20 73 65 6c |le.#.# F|irst sel|
|00003230| 65 63 74 20 74 68 65 20 | 6d 6f 64 65 20 6f 66 20 |ect the |mode of |
|00003240| 6f 70 65 72 61 74 69 6f | 6e 2e 20 28 64 69 67 69 |operatio|n. (digi|
|00003250| 20 6f 72 20 74 6e 63 29 | 0a 23 0a 73 6f 63 6b 65 | or tnc)|.#.socke|
|00003260| 74 20 69 70 0a 23 0a 6d | 6f 64 65 20 74 6e 63 0a |t ip.#.m|ode tnc.|
|00003270| 23 0a 23 20 49 66 20 79 | 6f 75 20 73 65 6c 65 63 |#.# If y|ou selec|
|00003280| 74 65 64 20 64 69 67 69 | 2c 20 79 6f 75 20 6d 75 |ted digi|, you mu|
|00003290| 73 74 20 64 65 66 69 6e | 65 20 61 20 63 61 6c 6c |st defin|e a call|
|000032a0| 73 69 67 6e 2e 20 20 49 | 66 20 79 6f 75 20 73 65 |sign. I|f you se|
|000032b0| 6c 65 63 74 65 64 0a 23 | 20 74 6e 63 20 6d 6f 64 |lected.#| tnc mod|
|000032c0| 65 2c 20 74 68 65 20 63 | 61 6c 6c 73 69 67 6e 20 |e, the c|allsign |
|000032d0| 69 73 20 63 75 72 72 65 | 6e 74 6c 79 20 6f 70 74 |is curre|ntly opt|
|000032e0| 69 6f 6e 61 6c 2c 20 62 | 75 74 20 74 68 69 73 20 |ional, b|ut this |
|000032f0| 6d 61 79 20 63 68 61 6e | 67 65 0a 23 20 69 6e 20 |may chan|ge.# in |
|00003300| 74 68 65 20 66 75 74 75 | 72 65 21 0a 23 0a 6d 79 |the futu|re!.#.my|
|00003310| 63 61 6c 6c 20 76 65 33 | 72 70 69 2d 31 34 0a 6d |call ve3|rpi-14.m|
|00003320| 79 63 61 6c 6c 32 20 76 | 65 33 72 70 69 2d 31 35 |ycall2 v|e3rpi-15|
|00003330| 0a 23 0a 23 20 49 6e 20 | 64 69 67 69 20 6d 6f 64 |.#.# In |digi mod|
|00003340| 65 2c 20 79 6f 75 20 6d | 61 79 20 75 73 65 20 61 |e, you m|ay use a|
|00003350| 6e 20 61 6c 69 61 73 2e | 0a 23 0a 6d 79 61 6c 69 |n alias.|.#.myali|
|00003360| 61 73 20 72 79 65 68 61 | 31 0a 6d 79 61 6c 69 61 |as ryeha|1.myalia|
|00003370| 73 32 20 72 79 65 68 61 | 32 0a 23 0a 23 20 49 44 |s2 ryeha|2.#.# ID|
|00003380| 20 65 76 65 72 79 20 31 | 30 20 6d 69 6e 75 74 65 | every 1|0 minute|
|00003390| 73 2e 2e 2e 0a 23 0a 62 | 65 61 63 6f 6e 20 61 66 |s....#.b|eacon af|
|000033a0| 74 65 72 20 35 34 30 0a | 62 74 65 78 74 20 61 78 |ter 540.|btext ax|
|000033b0| 32 35 69 70 20 2d 2d 20 | 64 69 67 69 20 6a 65 66 |25ip -- |digi jef|
|000033c0| 66 20 2d 2d 20 45 78 70 | 65 72 69 6d 65 6e 74 61 |f -- Exp|erimenta|
|000033d0| 6c 20 49 50 20 67 61 74 | 65 77 61 79 0a 23 0a 23 |l IP gat|eway.#.#|
|000033e0| 20 54 68 65 20 74 6e 63 | 20 6f 72 20 68 6f 73 74 | The tnc| or host|
|000033f0| 20 73 79 73 74 65 6d 20 | 6d 75 73 74 20 62 65 20 | system |must be |
|00003400| 63 6f 6e 6e 65 63 74 65 | 64 20 74 6f 20 61 20 73 |connecte|d to a s|
|00003410| 65 72 69 61 6c 20 70 6f | 72 74 2e 0a 23 0a 64 65 |erial po|rt..#.de|
|00003420| 76 69 63 65 20 2f 64 65 | 76 2f 74 74 79 53 31 0a |vice /de|v/ttyS1.|
|00003430| 23 0a 23 20 54 68 65 20 | 6c 69 6e 65 20 73 70 65 |#.# The |line spe|
|00003440| 65 64 20 69 73 20 73 65 | 74 20 68 65 72 65 0a 23 |ed is se|t here.#|
|00003450| 0a 73 70 65 65 64 20 39 | 36 30 30 0a 23 0a 23 20 |.speed 9|600.#.# |
|00003460| 6c 6f 67 6c 65 76 65 6c | 20 30 20 2d 20 6e 6f 20 |loglevel| 0 - no |
|00003470| 6f 75 74 70 75 74 0a 23 | 20 6c 6f 67 6c 65 76 65 |output.#| logleve|
|00003480| 6c 20 31 20 2d 20 63 6f | 6e 66 69 67 20 69 6e 66 |l 1 - co|nfig inf|
|00003490| 6f 20 6f 6e 6c 79 0a 23 | 20 6c 6f 67 6c 65 76 65 |o only.#| logleve|
|000034a0| 6c 20 32 20 2d 20 6d 61 | 6a 6f 72 20 65 76 65 6e |l 2 - ma|jor even|
|000034b0| 74 73 20 61 6e 64 20 65 | 72 72 6f 72 73 0a 23 20 |ts and e|rrors.# |
|000034c0| 6c 6f 67 6c 65 76 65 6c | 20 33 20 2d 20 6d 61 6a |loglevel| 3 - maj|
|000034d0| 6f 72 20 65 76 65 6e 74 | 73 2c 20 65 72 72 6f 72 |or event|s, error|
|000034e0| 73 2c 20 61 6e 64 20 41 | 58 32 35 20 66 72 61 6d |s, and A|X25 fram|
|000034f0| 65 20 74 72 61 63 65 0a | 23 20 6c 6f 67 6c 65 76 |e trace.|# loglev|
|00003500| 65 6c 20 34 20 2d 20 61 | 6c 6c 20 65 76 65 6e 74 |el 4 - a|ll event|
|00003510| 73 0a 23 0a 6c 6f 67 6c | 65 76 65 6c 20 34 0a 23 |s.#.logl|evel 4.#|
|00003520| 0a 23 20 49 66 20 64 69 | 67 69 20 6d 6f 64 65 2c |.# If di|gi mode,|
|00003530| 20 77 65 20 70 72 6f 62 | 61 62 6c 79 20 68 61 76 | we prob|ably hav|
|00003540| 65 20 61 20 74 6e 63 20 | 6f 6e 20 74 68 65 20 6f |e a tnc |on the o|
|00003550| 74 68 65 72 20 65 6e 64 | 20 6f 66 20 74 68 65 20 |ther end| of the |
|00003560| 73 65 72 69 61 6c 0a 23 | 20 70 6f 72 74 2e 20 20 |serial.#| port. |
|00003570| 55 73 65 20 74 68 65 20 | 70 61 72 61 6d 20 63 6f |Use the |param co|
|00003580| 6d 6d 61 6e 64 20 74 6f | 20 73 65 74 20 74 68 65 |mmand to| set the|
|00003590| 20 4b 49 53 53 20 70 61 | 72 61 6d 65 74 65 72 73 | KISS pa|rameters|
|000035a0| 20 28 6c 69 6b 65 20 74 | 78 64 65 6c 61 79 21 29 | (like t|xdelay!)|
|000035b0| 0a 23 20 59 6f 75 20 63 | 61 6e 20 73 70 65 63 69 |.# You c|an speci|
|000035c0| 66 79 20 61 73 20 6d 61 | 6e 79 20 61 73 20 79 6f |fy as ma|ny as yo|
|000035d0| 75 20 6e 65 65 64 2e 0a | 23 0a 70 61 72 61 6d 20 |u need..|#.param |
|000035e0| 31 20 32 30 0a 23 0a 23 | 20 44 65 66 69 6e 65 20 |1 20.#.#| Define |
|000035f0| 73 6f 6d 65 20 72 6f 75 | 74 65 73 2e 20 20 54 68 |some rou|tes. Th|
|00003600| 69 73 20 65 78 61 6d 70 | 6c 65 20 72 6f 75 74 65 |is examp|le route|
|00003610| 73 20 61 6c 6c 20 74 72 | 61 66 66 69 63 20 66 6f |s all tr|affic fo|
|00003620| 72 20 63 61 6c 6c 73 69 | 67 6e 20 6b 61 39 77 73 |r callsi|gn ka9ws|
|00003630| 62 2d 37 0a 23 20 74 6f | 20 61 20 68 6f 73 74 20 |b-7.# to| a host |
|00003640| 6e 61 6d 65 64 20 77 61 | 76 65 67 75 69 64 65 2e |named wa|veguide.|
|00003650| 63 65 6e 74 72 61 6c 2e | 73 75 6e 2e 63 6f 6d 2e |central.|sun.com.|
|00003660| 20 20 59 6f 75 20 63 61 | 6e 20 64 65 66 69 6e 65 | You ca|n define|
|00003670| 20 61 73 20 6d 61 6e 79 | 20 61 73 0a 23 20 72 65 | as many| as.# re|
|00003680| 71 75 69 72 65 64 2e 0a | 23 0a 72 6f 75 74 65 20 |quired..|#.route |
|00003690| 76 65 33 72 70 69 20 62 | 62 73 2e 76 65 33 72 70 |ve3rpi b|bs.ve3rp|
|000036a0| 69 2e 61 6d 70 72 2e 6f | 72 67 0a 72 6f 75 74 65 |i.ampr.o|rg.route|
|000036b0| 20 76 65 33 72 70 69 2d | 32 20 72 79 65 68 61 6d | ve3rpi-|2 ryeham|
|000036c0| 2e 65 65 2e 72 79 65 72 | 73 6f 6e 2e 63 61 0a 72 |.ee.ryer|son.ca.r|
|000036d0| 6f 75 74 65 20 71 73 74 | 20 72 79 65 68 61 6d 2e |oute qst| ryeham.|
|000036e0| 65 65 2e 72 79 65 72 73 | 6f 6e 2e 63 61 0a 23 0a |ee.ryers|on.ca.#.|
|000036f0| 23 20 41 20 63 61 74 63 | 68 2d 61 6c 6c 20 69 73 |# A catc|h-all is|
|00003700| 20 70 72 6f 76 69 64 65 | 64 3a 20 74 68 69 73 20 | provide|d: this |
|00003710| 6c 69 6e 65 20 73 65 6e | 64 73 20 61 6c 6c 20 63 |line sen|ds all c|
|00003720| 61 6c 6c 73 20 6e 6f 74 | 20 73 70 65 63 69 66 69 |alls not| specifi|
|00003730| 63 61 6c 6c 79 0a 23 20 | 6e 6f 74 65 64 20 69 6e |cally.# |noted in|
|00003740| 20 74 68 65 20 72 6f 75 | 74 69 6e 67 20 74 61 62 | the rou|ting tab|
|00003750| 6c 65 73 20 74 6f 20 73 | 75 6e 62 69 72 64 2e 63 |les to s|unbird.c|
|00003760| 65 6e 74 72 61 6c 2e 73 | 75 6e 2e 63 6f 6d 2e 20 |entral.s|un.com. |
|00003770| 20 55 73 65 20 74 68 69 | 73 20 66 65 61 74 75 72 | Use thi|s featur|
|00003780| 65 0a 23 20 77 69 74 68 | 20 67 72 65 61 74 20 63 |e.# with| great c|
|00003790| 61 72 65 20 2d 2d 20 74 | 68 65 20 68 6f 73 74 20 |are -- t|he host |
|000037a0| 6f 6e 20 74 68 65 20 6f | 74 68 65 72 20 65 6e 64 |on the o|ther end|
|000037b0| 20 6d 61 79 20 6e 6f 74 | 20 61 70 70 72 65 63 69 | may not| appreci|
|000037c0| 61 74 65 20 61 6c 6c 20 | 74 68 65 0a 23 20 74 72 |ate all |the.# tr|
|000037d0| 61 66 66 69 63 21 0a 23 | 0a 23 72 6f 75 74 65 20 |affic!.#|.#route |
|000037e0| 64 65 66 61 75 6c 74 20 | 73 75 6e 62 69 72 64 2e |default |sunbird.|
|000037f0| 63 65 6e 74 72 61 6c 2e | 73 75 6e 2e 63 6f 6d 0a |central.|sun.com.|
|00003800| 23 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |#.......|........|
|00003810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000039f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a00| 61 78 32 35 69 70 2f 63 | 6f 6e 66 69 67 2e 63 00 |ax25ip/c|onfig.c.|
|00003a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003a60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00003a70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00003a80| 20 20 31 37 36 31 33 20 | 20 35 37 31 34 37 36 33 | 17613 | 5714763|
|00003a90| 32 31 34 20 20 31 32 31 | 35 37 00 20 30 00 00 00 |214 121|57. 0...|
|00003aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b00| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00003b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00003b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003c00| 2f 2a 20 63 6f 6e 66 69 | 67 2e 63 20 20 20 20 63 |/* confi|g.c c|
|00003c10| 6f 6e 66 69 67 20 66 69 | 6c 65 20 6d 61 6e 69 70 |onfig fi|le manip|
|00003c20| 75 6c 61 74 69 6f 6e 20 | 72 6f 75 74 69 6e 65 73 |ulation |routines|
|00003c30| 0a 20 2a 0a 20 2a 20 43 | 6f 70 79 72 69 67 68 74 |. *. * C|opyright|
|00003c40| 20 31 39 39 31 2c 20 4d | 69 63 68 61 65 6c 20 57 | 1991, M|ichael W|
|00003c50| 65 73 74 65 72 68 6f 66 | 2c 20 53 75 6e 20 4d 69 |esterhof|, Sun Mi|
|00003c60| 63 72 6f 73 79 73 74 65 | 6d 73 2c 20 49 6e 63 2e |crosyste|ms, Inc.|
|00003c70| 0a 20 2a 20 54 68 69 73 | 20 73 6f 66 74 77 61 72 |. * This| softwar|
|00003c80| 65 20 6d 61 79 20 62 65 | 20 66 72 65 65 6c 79 20 |e may be| freely |
|00003c90| 75 73 65 64 2c 20 64 69 | 73 74 72 69 62 75 74 65 |used, di|stribute|
|00003ca0| 64 2c 20 6f 72 20 6d 6f | 64 69 66 69 65 64 2c 20 |d, or mo|dified, |
|00003cb0| 70 72 6f 76 69 64 69 6e | 67 0a 20 2a 20 74 68 69 |providin|g. * thi|
|00003cc0| 73 20 68 65 61 64 65 72 | 20 69 73 20 6e 6f 74 20 |s header| is not |
|00003cd0| 72 65 6d 6f 76 65 64 2e | 0a 20 2a 0a 20 2a 2f 0a |removed.|. *. */.|
|00003ce0| 2f 2a 0a 20 2a 20 4d 6f | 64 69 66 69 63 61 74 69 |/*. * Mo|dificati|
|00003cf0| 6f 6e 73 20 6d 61 64 65 | 20 66 6f 72 20 64 75 61 |ons made| for dua|
|00003d00| 6c 20 70 6f 72 74 20 54 | 4e 43 27 73 0a 20 2a 20 |l port T|NC's. * |
|00003d10| 62 79 20 4d 69 63 68 61 | 65 6c 20 44 75 72 72 61 |by Micha|el Durra|
|00003d20| 6e 74 20 61 6e 64 20 44 | 2e 20 4a 65 66 66 20 44 |nt and D|. Jeff D|
|00003d30| 69 6f 6e 6e 65 20 20 46 | 65 62 72 75 61 72 79 20 |ionne F|ebruary |
|00003d40| 34 2c 20 31 39 39 35 0a | 20 2a 2f 0a 0a 0a 23 69 |4, 1995.| */...#i|
|00003d50| 6e 63 6c 75 64 65 20 3c | 73 74 64 69 6f 2e 68 3e |nclude <|stdio.h>|
|00003d60| 0a 23 69 6e 63 6c 75 64 | 65 20 3c 73 79 73 2f 74 |.#includ|e <sys/t|
|00003d70| 79 70 65 73 2e 68 3e 0a | 23 69 6e 63 6c 75 64 65 |ypes.h>.|#include|
|00003d80| 20 3c 73 79 73 2f 73 6f | 63 6b 65 74 2e 68 3e 0a | <sys/so|cket.h>.|
|00003d90| 23 69 6e 63 6c 75 64 65 | 20 3c 6e 65 74 64 62 2e |#include| <netdb.|
|00003da0| 68 3e 0a 23 69 6e 63 6c | 75 64 65 20 3c 6d 65 6d |h>.#incl|ude <mem|
|00003db0| 6f 72 79 2e 68 3e 0a 23 | 69 6e 63 6c 75 64 65 20 |ory.h>.#|include |
|00003dc0| 3c 66 63 6e 74 6c 2e 68 | 3e 0a 23 69 6e 63 6c 75 |<fcntl.h|>.#inclu|
|00003dd0| 64 65 20 3c 73 74 72 69 | 6e 67 2e 68 3e 0a 23 69 |de <stri|ng.h>.#i|
|00003de0| 6e 63 6c 75 64 65 20 3c | 63 74 79 70 65 2e 68 3e |nclude <|ctype.h>|
|00003df0| 0a 23 69 6e 63 6c 75 64 | 65 20 22 63 6f 6e 66 69 |.#includ|e "confi|
|00003e00| 67 2e 68 22 0a 23 69 6e | 63 6c 75 64 65 20 3c 6e |g.h".#in|clude <n|
|00003e10| 65 74 69 6e 65 74 2f 69 | 6e 2e 68 3e 0a 0a 2f 2a |etinet/i|n.h>../*|
|00003e20| 20 49 6e 69 74 69 61 6c | 69 7a 65 20 74 68 65 20 | Initial|ize the |
|00003e30| 63 6f 6e 66 69 67 20 74 | 61 62 6c 65 20 2a 2f 0a |config t|able */.|
|00003e40| 76 6f 69 64 0a 63 6f 6e | 66 69 67 5f 69 6e 69 74 |void.con|fig_init|
|00003e50| 28 29 0a 7b 0a 09 69 6e | 74 20 69 3b 0a 0a 09 2a |().{..in|t i;...*|
|00003e60| 74 74 79 64 65 76 69 63 | 65 20 3d 20 27 5c 30 27 |ttydevic|e = '\0'|
|00003e70| 3b 0a 09 66 6f 72 28 69 | 3d 30 3b 69 3c 37 3b 69 |;..for(i|=0;i<7;i|
|00003e80| 2b 2b 29 6d 79 63 61 6c | 6c 73 69 67 6e 5b 69 5d |++)mycal|lsign[i]|
|00003e90| 3d 27 5c 30 27 3b 0a 09 | 66 6f 72 28 69 3d 30 3b |='\0';..|for(i=0;|
|00003ea0| 69 3c 37 3b 69 2b 2b 29 | 6d 79 61 6c 69 61 73 5b |i<7;i++)|myalias[|
|00003eb0| 69 5d 3d 27 5c 30 27 3b | 0a 09 66 6f 72 28 69 3d |i]='\0';|..for(i=|
|00003ec0| 30 3b 69 3c 37 3b 69 2b | 2b 29 6d 79 63 61 6c 6c |0;i<7;i+|+)mycall|
|00003ed0| 73 69 67 6e 32 5b 69 5d | 3d 27 5c 30 27 3b 0a 09 |sign2[i]|='\0';..|
|00003ee0| 66 6f 72 28 69 3d 30 3b | 69 3c 37 3b 69 2b 2b 29 |for(i=0;|i<7;i++)|
|00003ef0| 6d 79 61 6c 69 61 73 32 | 5b 69 5d 3d 27 5c 30 27 |myalias2|[i]='\0'|
|00003f00| 3b 0a 09 64 69 67 69 20 | 3d 20 31 3b 0a 09 74 74 |;..digi |= 1;..tt|
|00003f10| 79 73 70 65 65 64 20 3d | 20 39 36 30 30 3b 0a 09 |yspeed =| 9600;..|
|00003f20| 6c 6f 67 6c 65 76 65 6c | 20 3d 20 30 3b 0a 09 62 |loglevel| = 0;..b|
|00003f30| 63 5f 69 6e 74 65 72 76 | 61 6c 20 3d 20 30 3b 0a |c_interv|al = 0;.|
|00003f40| 09 62 63 5f 74 65 78 74 | 5b 30 5d 3d 27 5c 30 27 |.bc_text|[0]='\0'|
|00003f50| 3b 0a 09 62 63 5f 65 76 | 65 72 79 20 3d 20 30 3b |;..bc_ev|ery = 0;|
|00003f60| 0a 09 6d 79 5f 75 64 70 | 20 3d 20 68 74 6f 6e 73 |..my_udp| = htons|
|00003f70| 28 30 29 3b 0a 09 75 64 | 70 5f 6d 6f 64 65 20 3d |(0);..ud|p_mode =|
|00003f80| 20 30 3b 0a 09 69 70 5f | 6d 6f 64 65 20 3d 20 30 | 0;..ip_|mode = 0|
|00003f90| 3b 0a 09 64 75 61 6c 5f | 70 6f 72 74 20 3d 20 30 |;..dual_|port = 0|
|00003fa0| 3b 0a 0a 09 73 74 61 74 | 73 2e 6b 69 73 73 5f 69 |;...stat|s.kiss_i|
|00003fb0| 6e 20 3d 20 30 3b 0a 09 | 73 74 61 74 73 2e 6b 69 |n = 0;..|stats.ki|
|00003fc0| 73 73 5f 74 6f 6f 62 69 | 67 20 3d 20 30 3b 0a 09 |ss_toobi|g = 0;..|
|00003fd0| 73 74 61 74 73 2e 6b 69 | 73 73 5f 62 61 64 74 79 |stats.ki|ss_badty|
|00003fe0| 70 65 20 3d 20 30 3b 0a | 09 73 74 61 74 73 2e 6b |pe = 0;.|.stats.k|
|00003ff0| 69 73 73 5f 74 6f 6f 73 | 68 6f 72 74 20 3d 20 30 |iss_toos|hort = 0|
|00004000| 3b 0a 09 73 74 61 74 73 | 2e 6b 69 73 73 5f 6e 6f |;..stats|.kiss_no|
|00004010| 74 5f 66 6f 72 5f 6d 65 | 20 3d 20 30 3b 0a 09 73 |t_for_me| = 0;..s|
|00004020| 74 61 74 73 2e 6b 69 73 | 73 5f 69 5f 61 6d 5f 64 |tats.kis|s_i_am_d|
|00004030| 65 73 74 20 3d 20 30 3b | 0a 09 73 74 61 74 73 2e |est = 0;|..stats.|
|00004040| 6b 69 73 73 5f 6e 6f 5f | 69 70 5f 61 64 64 72 20 |kiss_no_|ip_addr |
|00004050| 3d 20 30 3b 0a 09 73 74 | 61 74 73 2e 6b 69 73 73 |= 0;..st|ats.kiss|
|00004060| 5f 6f 75 74 20 3d 20 30 | 3b 0a 09 73 74 61 74 73 |_out = 0|;..stats|
|00004070| 2e 6b 69 73 73 5f 62 65 | 61 63 6f 6e 5f 6f 75 74 |.kiss_be|acon_out|
|00004080| 73 20 3d 20 30 3b 0a 09 | 73 74 61 74 73 2e 75 64 |s = 0;..|stats.ud|
|00004090| 70 5f 69 6e 20 3d 20 30 | 3b 0a 09 73 74 61 74 73 |p_in = 0|;..stats|
|000040a0| 2e 75 64 70 5f 6f 75 74 | 20 3d 20 30 3b 0a 09 73 |.udp_out| = 0;..s|
|000040b0| 74 61 74 73 2e 69 70 5f | 69 6e 20 3d 20 30 3b 0a |tats.ip_|in = 0;.|
|000040c0| 09 73 74 61 74 73 2e 69 | 70 5f 6f 75 74 20 3d 20 |.stats.i|p_out = |
|000040d0| 30 3b 0a 09 73 74 61 74 | 73 2e 69 70 5f 66 61 69 |0;..stat|s.ip_fai|
|000040e0| 6c 65 64 5f 63 72 63 20 | 3d 20 30 3b 0a 09 73 74 |led_crc |= 0;..st|
|000040f0| 61 74 73 2e 69 70 5f 74 | 6f 6f 73 68 6f 72 74 20 |ats.ip_t|ooshort |
|00004100| 3d 20 30 3b 0a 09 73 74 | 61 74 73 2e 69 70 5f 6e |= 0;..st|ats.ip_n|
|00004110| 6f 74 5f 66 6f 72 5f 6d | 65 20 3d 20 30 3b 0a 09 |ot_for_m|e = 0;..|
|00004120| 73 74 61 74 73 2e 69 70 | 5f 69 5f 61 6d 5f 64 65 |stats.ip|_i_am_de|
|00004130| 73 74 20 3d 20 30 3b 0a | 7d 0a 0a 2f 2a 20 4f 70 |st = 0;.|}../* Op|
|00004140| 65 6e 20 61 6e 64 20 72 | 65 61 64 20 74 68 65 20 |en and r|ead the |
|00004150| 63 6f 6e 66 69 67 20 66 | 69 6c 65 20 2a 2f 0a 0a |config f|ile */..|
|00004160| 76 6f 69 64 0a 63 6f 6e | 66 69 67 5f 72 65 61 64 |void.con|fig_read|
|00004170| 28 66 29 0a 63 68 61 72 | 20 2a 66 3b 0a 7b 0a 09 |(f).char| *f;.{..|
|00004180| 46 49 4c 45 20 2a 63 66 | 3b 0a 09 63 68 61 72 20 |FILE *cf|;..char |
|00004190| 62 75 66 5b 32 35 36 5d | 2c 20 63 62 75 66 5b 32 |buf[256]|, cbuf[2|
|000041a0| 35 36 5d 3b 0a 09 69 6e | 74 20 65 72 72 66 6c 61 |56];..in|t errfla|
|000041b0| 67 2c 20 65 2c 20 6c 69 | 6e 65 6e 6f 3b 0a 09 63 |g, e, li|neno;..c|
|000041c0| 68 61 72 20 2a 66 6e 61 | 6d 65 3b 0a 0a 09 69 66 |har *fna|me;...if|
|000041d0| 20 28 66 29 20 66 6e 61 | 6d 65 20 3d 20 66 3b 0a | (f) fna|me = f;.|
|000041e0| 09 65 6c 73 65 20 66 6e | 61 6d 65 20 3d 20 43 4f |.else fn|ame = CO|
|000041f0| 4e 46 49 47 5f 46 49 4c | 45 3b 0a 0a 09 69 66 28 |NFIG_FIL|E;...if(|
|00004200| 28 63 66 20 3d 20 66 6f | 70 65 6e 28 66 6e 61 6d |(cf = fo|pen(fnam|
|00004210| 65 2c 22 72 22 29 29 3d | 3d 4e 55 4c 4c 29 7b 0a |e,"r"))=|=NULL){.|
|00004220| 09 09 28 76 6f 69 64 29 | 66 70 72 69 6e 74 66 28 |..(void)|fprintf(|
|00004230| 73 74 64 65 72 72 2c 22 | 43 6f 6e 66 69 67 20 66 |stderr,"|Config f|
|00004240| 69 6c 65 20 25 73 20 6e | 6f 74 20 66 6f 75 6e 64 |ile %s n|ot found|
|00004250| 20 6f 72 20 63 6f 75 6c | 64 20 6e 6f 74 20 62 65 | or coul|d not be|
|00004260| 20 6f 70 65 6e 65 64 5c | 6e 22 2c 66 6e 61 6d 65 | opened\|n",fname|
|00004270| 29 3b 0a 09 09 65 78 69 | 74 28 31 29 3b 0a 09 7d |);...exi|t(1);..}|
|00004280| 0a 0a 09 65 72 72 66 6c | 61 67 20 3d 20 30 3b 0a |...errfl|ag = 0;.|
|00004290| 09 6c 69 6e 65 6e 6f 20 | 3d 20 30 3b 0a 09 77 68 |.lineno |= 0;..wh|
|000042a0| 69 6c 65 28 66 67 65 74 | 73 28 62 75 66 2c 20 32 |ile(fget|s(buf, 2|
|000042b0| 35 35 2c 20 63 66 29 21 | 3d 4e 55 4c 4c 29 7b 0a |55, cf)!|=NULL){.|
|000042c0| 09 09 28 76 6f 69 64 29 | 73 74 72 63 70 79 28 63 |..(void)|strcpy(c|
|000042d0| 62 75 66 2c 20 62 75 66 | 29 3b 0a 09 09 6c 69 6e |buf, buf|);...lin|
|000042e0| 65 6e 6f 2b 2b 3b 0a 09 | 09 69 66 28 28 65 20 3d |eno++;..|.if((e =|
|000042f0| 20 70 61 72 73 65 5f 6c | 69 6e 65 28 62 75 66 29 | parse_l|ine(buf)|
|00004300| 29 20 3c 20 30 29 7b 0a | 09 09 09 28 76 6f 69 64 |) < 0){.|...(void|
|00004310| 29 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |)fprintf|(stderr,|
|00004320| 22 43 6f 6e 66 69 67 20 | 65 72 72 6f 72 20 61 74 |"Config |error at|
|00004330| 20 6c 69 6e 65 20 25 64 | 3a 20 22 2c 6c 69 6e 65 | line %d|: ",line|
|00004340| 6e 6f 29 3b 0a 09 09 09 | 69 66 28 65 3d 3d 2d 31 |no);....|if(e==-1|
|00004350| 29 28 76 6f 69 64 29 66 | 70 72 69 6e 74 66 28 73 |)(void)f|printf(s|
|00004360| 74 64 65 72 72 2c 22 4d | 69 73 73 69 6e 67 20 61 |tderr,"M|issing a|
|00004370| 72 67 75 6d 65 6e 74 5c | 6e 22 29 3b 0a 09 09 09 |rgument\|n");....|
|00004380| 65 6c 73 65 20 69 66 28 | 65 3d 3d 2d 32 29 28 76 |else if(|e==-2)(v|
|00004390| 6f 69 64 29 66 70 72 69 | 6e 74 66 28 73 74 64 65 |oid)fpri|ntf(stde|
|000043a0| 72 72 2c 22 42 61 64 20 | 63 61 6c 6c 73 69 67 6e |rr,"Bad |callsign|
|000043b0| 20 66 6f 72 6d 61 74 5c | 6e 22 29 3b 0a 09 09 09 | format\|n");....|
|000043c0| 65 6c 73 65 20 69 66 28 | 65 3d 3d 2d 33 29 28 76 |else if(|e==-3)(v|
|000043d0| 6f 69 64 29 66 70 72 69 | 6e 74 66 28 73 74 64 65 |oid)fpri|ntf(stde|
|000043e0| 72 72 2c 22 42 61 64 20 | 6f 70 74 69 6f 6e 20 2d |rr,"Bad |option -|
|000043f0| 20 6f 6e 2f 6f 66 66 5c | 6e 22 29 3b 0a 09 09 09 | on/off\|n");....|
|00004400| 65 6c 73 65 20 69 66 28 | 65 3d 3d 2d 34 29 28 76 |else if(|e==-4)(v|
|00004410| 6f 69 64 29 66 70 72 69 | 6e 74 66 28 73 74 64 65 |oid)fpri|ntf(stde|
|00004420| 72 72 2c 22 42 61 64 20 | 6f 70 74 69 6f 6e 20 2d |rr,"Bad |option -|
|00004430| 20 74 6e 63 2f 64 69 67 | 69 5c 6e 22 29 3b 0a 09 | tnc/dig|i\n");..|
|00004440| 09 09 65 6c 73 65 20 69 | 66 28 65 3d 3d 2d 35 29 |..else i|f(e==-5)|
|00004450| 28 76 6f 69 64 29 66 70 | 72 69 6e 74 66 28 73 74 |(void)fp|rintf(st|
|00004460| 64 65 72 72 2c 22 48 6f | 73 74 20 6e 6f 74 20 6b |derr,"Ho|st not k|
|00004470| 6e 6f 77 6e 5c 6e 22 29 | 3b 0a 09 09 09 65 6c 73 |nown\n")|;....els|
|00004480| 65 20 69 66 28 65 3d 3d | 2d 36 29 28 76 6f 69 64 |e if(e==|-6)(void|
|00004490| 29 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |)fprintf|(stderr,|
|000044a0| 22 55 6e 6b 6e 6f 77 6e | 20 63 6f 6d 6d 61 6e 64 |"Unknown| command|
|000044b0| 5c 6e 22 29 3b 0a 09 09 | 09 65 6c 73 65 20 69 66 |\n");...|.else if|
|000044c0| 28 65 3d 3d 2d 37 29 28 | 76 6f 69 64 29 66 70 72 |(e==-7)(|void)fpr|
|000044d0| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 22 54 65 78 |intf(std|err,"Tex|
|000044e0| 74 20 73 74 72 69 6e 67 | 20 74 6f 6f 20 6c 6f 6e |t string| too lon|
|000044f0| 67 5c 6e 22 29 3b 0a 09 | 09 09 65 6c 73 65 20 69 |g\n");..|..else i|
|00004500| 66 28 65 3d 3d 2d 38 29 | 28 76 6f 69 64 29 66 70 |f(e==-8)|(void)fp|
|00004510| 72 69 6e 74 66 28 73 74 | 64 65 72 72 2c 22 42 61 |rintf(st|derr,"Ba|
|00004520| 64 20 6f 70 74 69 6f 6e | 20 2d 20 65 76 65 72 79 |d option| - every|
|00004530| 2f 61 66 74 65 72 5c 6e | 22 29 3b 0a 09 09 09 65 |/after\n|");....e|
|00004540| 6c 73 65 20 69 66 28 65 | 3d 3d 2d 39 29 28 76 6f |lse if(e|==-9)(vo|
|00004550| 69 64 29 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |id)fprin|tf(stder|
|00004560| 72 2c 22 42 61 64 20 6f | 70 74 69 6f 6e 20 2d 20 |r,"Bad o|ption - |
|00004570| 69 70 2f 75 64 70 5c 6e | 22 29 3b 0a 09 09 09 65 |ip/udp\n|");....e|
|00004580| 6c 73 65 20 28 76 6f 69 | 64 29 66 70 72 69 6e 74 |lse (voi|d)fprint|
|00004590| 66 28 73 74 64 65 72 72 | 2c 22 55 6e 6b 6e 6f 77 |f(stderr|,"Unknow|
|000045a0| 6e 20 65 72 72 6f 72 5c | 6e 22 29 3b 0a 09 09 09 |n error\|n");....|
|000045b0| 28 76 6f 69 64 29 66 70 | 72 69 6e 74 66 28 73 74 |(void)fp|rintf(st|
|000045c0| 64 65 72 72 2c 22 25 73 | 22 2c 63 62 75 66 29 3b |derr,"%s|",cbuf);|
|000045d0| 0a 09 09 09 65 72 72 66 | 6c 61 67 2b 2b 3b 0a 09 |....errf|lag++;..|
|000045e0| 09 7d 0a 09 7d 0a 09 69 | 66 28 65 72 72 66 6c 61 |.}..}..i|f(errfla|
|000045f0| 67 29 65 78 69 74 28 31 | 29 3b 0a 0a 09 69 66 28 |g)exit(1|);...if(|
|00004600| 73 74 72 6c 65 6e 28 74 | 74 79 64 65 76 69 63 65 |strlen(t|tydevice|
|00004610| 29 3d 3d 30 29 7b 0a 09 | 09 28 76 6f 69 64 29 66 |)==0){..|.(void)f|
|00004620| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 22 4e |printf(s|tderr,"N|
|00004630| 6f 20 64 65 76 69 63 65 | 20 73 70 65 63 69 66 69 |o device| specifi|
|00004640| 65 64 20 69 6e 20 63 6f | 6e 66 69 67 20 66 69 6c |ed in co|nfig fil|
|00004650| 65 5c 6e 22 29 3b 0a 09 | 09 65 78 69 74 28 31 29 |e\n");..|.exit(1)|
|00004660| 3b 0a 09 7d 0a 0a 09 69 | 66 28 28 75 64 70 5f 6d |;..}...i|f((udp_m|
|00004670| 6f 64 65 20 3d 3d 20 30 | 29 20 26 26 20 28 69 70 |ode == 0|) && (ip|
|00004680| 5f 6d 6f 64 65 20 3d 3d | 20 30 29 29 7b 0a 09 09 |_mode ==| 0)){...|
|00004690| 28 76 6f 69 64 29 66 70 | 72 69 6e 74 66 28 73 74 |(void)fp|rintf(st|
|000046a0| 64 65 72 72 2c 22 4d 75 | 73 74 20 73 70 65 63 69 |derr,"Mu|st speci|
|000046b0| 66 79 20 69 70 20 61 6e | 64 2f 6f 72 20 75 64 70 |fy ip an|d/or udp|
|000046c0| 20 73 6f 63 6b 65 74 73 | 5c 6e 22 29 3b 0a 09 09 | sockets|\n");...|
|000046d0| 65 78 69 74 28 31 29 3b | 0a 09 7d 0a 0a 09 69 66 |exit(1);|..}...if|
|000046e0| 28 64 69 67 69 29 7b 0a | 09 09 69 66 28 6d 79 63 |(digi){.|..if(myc|
|000046f0| 61 6c 6c 73 69 67 6e 5b | 30 5d 3d 3d 27 5c 30 27 |allsign[|0]=='\0'|
|00004700| 29 7b 0a 09 09 09 28 76 | 6f 69 64 29 66 70 72 69 |){....(v|oid)fpri|
|00004710| 6e 74 66 28 73 74 64 65 | 72 72 2c 22 4e 6f 20 6d |ntf(stde|rr,"No m|
|00004720| 79 63 61 6c 6c 20 6c 69 | 6e 65 20 69 6e 20 63 6f |ycall li|ne in co|
|00004730| 6e 66 69 67 20 66 69 6c | 65 5c 6e 22 29 3b 0a 09 |nfig fil|e\n");..|
|00004740| 09 09 65 78 69 74 28 31 | 29 3b 0a 09 09 7d 0a 09 |..exit(1|);...}..|
|00004750| 7d 0a 09 69 66 28 28 64 | 69 67 69 29 20 26 26 20 |}..if((d|igi) && |
|00004760| 28 64 75 61 6c 5f 70 6f | 72 74 29 29 7b 0a 09 09 |(dual_po|rt)){...|
|00004770| 69 66 28 6d 79 63 61 6c | 6c 73 69 67 6e 32 5b 30 |if(mycal|lsign2[0|
|00004780| 5d 3d 3d 27 5c 30 27 29 | 7b 0a 09 09 09 28 76 6f |]=='\0')|{....(vo|
|00004790| 69 64 29 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |id)fprin|tf(stder|
|000047a0| 72 2c 22 4e 6f 20 6d 79 | 63 61 6c 6c 32 20 6c 69 |r,"No my|call2 li|
|000047b0| 6e 65 20 69 6e 20 63 6f | 6e 66 69 67 20 66 69 6c |ne in co|nfig fil|
|000047c0| 65 5c 6e 22 29 3b 0a 09 | 09 09 65 78 69 74 28 31 |e\n");..|..exit(1|
|000047d0| 29 3b 0a 09 09 7d 0a 09 | 7d 0a 7d 0a 0a 2f 2a 20 |);...}..|}.}../* |
|000047e0| 50 72 6f 63 65 73 73 20 | 65 61 63 68 20 6c 69 6e |Process |each lin|
|000047f0| 65 20 66 72 6f 6d 20 74 | 68 65 20 63 6f 6e 66 69 |e from t|he confi|
|00004800| 67 20 66 69 6c 65 2e 20 | 20 54 68 65 20 72 65 74 |g file. | The ret|
|00004810| 75 72 6e 20 76 61 6c 75 | 65 20 69 73 20 65 6e 63 |urn valu|e is enc|
|00004820| 6f 64 65 64 2e 20 2a 2f | 0a 69 6e 74 0a 70 61 72 |oded. */|.int.par|
|00004830| 73 65 5f 6c 69 6e 65 28 | 62 75 66 29 0a 63 68 61 |se_line(|buf).cha|
|00004840| 72 20 2a 62 75 66 3b 0a | 7b 0a 09 63 68 61 72 20 |r *buf;.|{..char |
|00004850| 2a 70 2c 20 2a 71 3b 0a | 09 75 6e 73 69 67 6e 65 |*p, *q;.|.unsigne|
|00004860| 64 20 63 68 61 72 20 74 | 63 61 6c 6c 5b 37 5d 2c |d char t|call[7],|
|00004870| 20 74 69 70 5b 34 5d 3b | 0a 09 73 74 72 75 63 74 | tip[4];|..struct|
|00004880| 20 68 6f 73 74 65 6e 74 | 20 2a 68 65 3b 0a 09 69 | hostent| *he;..i|
|00004890| 6e 74 20 69 2c 6a 2c 20 | 75 70 6f 72 74 2c 20 64 |nt i,j, |uport, d|
|000048a0| 66 61 6c 74 3b 0a 0a 09 | 70 20 3d 20 73 74 72 74 |falt;...|p = strt|
|000048b0| 6f 6b 28 62 75 66 2c 20 | 22 20 5c 74 5c 6e 5c 72 |ok(buf, |" \t\n\r|
|000048c0| 22 29 3b 0a 0a 09 69 66 | 28 70 3d 3d 4e 55 4c 4c |");...if|(p==NULL|
|000048d0| 29 72 65 74 75 72 6e 20 | 30 3b 0a 09 69 66 28 2a |)return |0;..if(*|
|000048e0| 70 3d 3d 27 23 27 29 72 | 65 74 75 72 6e 20 30 3b |p=='#')r|eturn 0;|
|000048f0| 0a 0a 09 69 66 28 73 74 | 72 63 6d 70 28 70 2c 22 |...if(st|rcmp(p,"|
|00004900| 6d 79 63 61 6c 6c 22 29 | 3d 3d 30 29 7b 0a 09 09 |mycall")|==0){...|
|00004910| 71 20 3d 20 73 74 72 74 | 6f 6b 28 4e 55 4c 4c 2c |q = strt|ok(NULL,|
|00004920| 20 22 20 5c 74 5c 6e 5c | 72 22 29 3b 0a 09 09 69 | " \t\n\|r");...i|
|00004930| 66 28 71 3d 3d 4e 55 4c | 4c 29 72 65 74 75 72 6e |f(q==NUL|L)return|
|00004940| 20 2d 31 3b 0a 09 09 69 | 66 28 61 5f 74 6f 5f 63 | -1;...i|f(a_to_c|
|00004950| 61 6c 6c 28 71 2c 20 6d | 79 63 61 6c 6c 73 69 67 |all(q, m|ycallsig|
|00004960| 6e 29 21 3d 30 29 72 65 | 74 75 72 6e 20 2d 32 3b |n)!=0)re|turn -2;|
|00004970| 0a 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 0a 09 7d |...retur|n 0;...}|
|00004980| 20 65 6c 73 65 20 69 66 | 28 73 74 72 63 6d 70 28 | else if|(strcmp(|
|00004990| 70 2c 22 6d 79 63 61 6c | 6c 32 22 29 3d 3d 30 29 |p,"mycal|l2")==0)|
|000049a0| 7b 0a 09 09 71 20 3d 20 | 73 74 72 74 6f 6b 28 4e |{...q = |strtok(N|
|000049b0| 55 4c 4c 2c 20 22 20 5c | 74 5c 6e 5c 72 22 29 3b |ULL, " \|t\n\r");|
|000049c0| 0a 09 09 69 66 28 71 3d | 3d 4e 55 4c 4c 29 72 65 |...if(q=|=NULL)re|
|000049d0| 74 75 72 6e 20 2d 31 3b | 0a 09 09 69 66 28 61 5f |turn -1;|...if(a_|
|000049e0| 74 6f 5f 63 61 6c 6c 28 | 71 2c 20 6d 79 63 61 6c |to_call(|q, mycal|
|000049f0| 6c 73 69 67 6e 32 29 21 | 3d 30 29 72 65 74 75 72 |lsign2)!|=0)retur|
|00004a00| 6e 20 2d 32 3b 0a 09 09 | 72 65 74 75 72 6e 20 30 |n -2;...|return 0|
|00004a10| 3b 0a 0a 09 7d 20 65 6c | 73 65 20 69 66 28 73 74 |;...} el|se if(st|
|00004a20| 72 63 6d 70 28 70 2c 22 | 6d 79 61 6c 69 61 73 22 |rcmp(p,"|myalias"|
|00004a30| 29 3d 3d 30 29 7b 0a 09 | 09 71 20 3d 20 73 74 72 |)==0){..|.q = str|
|00004a40| 74 6f 6b 28 4e 55 4c 4c | 2c 20 22 20 5c 74 5c 6e |tok(NULL|, " \t\n|
|00004a50| 5c 72 22 29 3b 0a 09 09 | 69 66 28 71 3d 3d 4e 55 |\r");...|if(q==NU|
|00004a60| 4c 4c 29 72 65 74 75 72 | 6e 20 2d 31 3b 0a 09 09 |LL)retur|n -1;...|
|00004a70| 69 66 28 61 5f 74 6f 5f | 63 61 6c 6c 28 71 2c 20 |if(a_to_|call(q, |
|00004a80| 6d 79 61 6c 69 61 73 29 | 21 3d 30 29 72 65 74 75 |myalias)|!=0)retu|
|00004a90| 72 6e 20 2d 32 3b 0a 09 | 09 64 75 61 6c 5f 70 6f |rn -2;..|.dual_po|
|00004aa0| 72 74 20 3d 20 31 3b 0a | 09 09 69 66 28 6d 79 63 |rt = 1;.|..if(myc|
|00004ab0| 61 6c 6c 73 69 67 6e 32 | 5b 30 5d 3d 3d 27 5c 30 |allsign2|[0]=='\0|
|00004ac0| 27 29 7b 0a 09 09 64 75 | 61 6c 5f 70 6f 72 74 20 |'){...du|al_port |
|00004ad0| 3d 20 30 3b 0a 09 09 7d | 0a 09 09 72 65 74 75 72 |= 0;...}|...retur|
|00004ae0| 6e 20 30 3b 0a 0a 09 7d | 20 65 6c 73 65 20 69 66 |n 0;...}| else if|
|00004af0| 28 73 74 72 63 6d 70 28 | 70 2c 22 6d 79 61 6c 69 |(strcmp(|p,"myali|
|00004b00| 61 73 32 22 29 3d 3d 30 | 29 7b 0a 09 09 71 20 3d |as2")==0|){...q =|
|00004b10| 20 73 74 72 74 6f 6b 28 | 4e 55 4c 4c 2c 20 22 20 | strtok(|NULL, " |
|00004b20| 5c 74 5c 6e 5c 72 22 29 | 3b 0a 09 09 69 66 28 71 |\t\n\r")|;...if(q|
|00004b30| 3d 3d 4e 55 4c 4c 29 72 | 65 74 75 72 6e 20 2d 31 |==NULL)r|eturn -1|
|00004b40| 3b 0a 09 09 69 66 28 61 | 5f 74 6f 5f 63 61 6c 6c |;...if(a|_to_call|
|00004b50| 28 71 2c 20 6d 79 61 6c | 69 61 73 32 29 21 3d 30 |(q, myal|ias2)!=0|
|00004b60| 29 72 65 74 75 72 6e 20 | 2d 32 3b 0a 09 09 72 65 |)return |-2;...re|
|00004b70| 74 75 72 6e 20 30 3b 0a | 0a 09 7d 20 65 6c 73 65 |turn 0;.|..} else|
|00004b80| 20 69 66 28 73 74 72 63 | 6d 70 28 70 2c 22 64 65 | if(strc|mp(p,"de|
|00004b90| 76 69 63 65 22 29 3d 3d | 30 29 7b 0a 09 09 71 20 |vice")==|0){...q |
|00004ba0| 3d 20 73 74 72 74 6f 6b | 28 4e 55 4c 4c 2c 20 22 |= strtok|(NULL, "|
|00004bb0| 20 5c 74 5c 6e 5c 72 22 | 29 3b 0a 09 09 69 66 28 | \t\n\r"|);...if(|
|00004bc0| 71 3d 3d 4e 55 4c 4c 29 | 72 65 74 75 72 6e 20 2d |q==NULL)|return -|
|00004bd0| 31 3b 0a 09 09 28 76 6f | 69 64 29 73 74 72 63 70 |1;...(vo|id)strcp|
|00004be0| 79 28 74 74 79 64 65 76 | 69 63 65 2c 20 71 29 3b |y(ttydev|ice, q);|
|00004bf0| 0a 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 0a 09 7d |...retur|n 0;...}|
|00004c00| 20 65 6c 73 65 20 69 66 | 28 73 74 72 63 6d 70 28 | else if|(strcmp(|
|00004c10| 70 2c 22 6d 6f 64 65 22 | 29 3d 3d 30 29 7b 0a 09 |p,"mode"|)==0){..|
|00004c20| 09 71 20 3d 20 73 74 72 | 74 6f 6b 28 4e 55 4c 4c |.q = str|tok(NULL|
|00004c30| 2c 20 22 20 5c 74 5c 6e | 5c 72 22 29 3b 0a 09 09 |, " \t\n|\r");...|
|00004c40| 69 66 28 71 3d 3d 4e 55 | 4c 4c 29 72 65 74 75 72 |if(q==NU|LL)retur|
|00004c50| 6e 20 2d 31 3b 0a 09 09 | 69 66 28 73 74 72 63 6d |n -1;...|if(strcm|
|00004c60| 70 28 71 2c 22 64 69 67 | 69 22 29 3d 3d 30 29 20 |p(q,"dig|i")==0) |
|00004c70| 64 69 67 69 20 3d 20 31 | 3b 0a 09 09 65 6c 73 65 |digi = 1|;...else|
|00004c80| 20 69 66 28 73 74 72 63 | 6d 70 28 71 2c 22 74 6e | if(strc|mp(q,"tn|
|00004c90| 63 22 29 3d 3d 30 29 20 | 64 69 67 69 20 3d 20 30 |c")==0) |digi = 0|
|00004ca0| 3b 0a 09 09 65 6c 73 65 | 20 72 65 74 75 72 6e 20 |;...else| return |
|00004cb0| 2d 34 3b 0a 09 09 72 65 | 74 75 72 6e 20 30 3b 0a |-4;...re|turn 0;.|
|00004cc0| 0a 09 7d 20 65 6c 73 65 | 20 69 66 28 73 74 72 63 |..} else| if(strc|
|00004cd0| 6d 70 28 70 2c 22 73 70 | 65 65 64 22 29 3d 3d 30 |mp(p,"sp|eed")==0|
|00004ce0| 29 7b 0a 09 09 71 20 3d | 20 73 74 72 74 6f 6b 28 |){...q =| strtok(|
|00004cf0| 4e 55 4c 4c 2c 20 22 20 | 5c 74 5c 6e 5c 72 22 29 |NULL, " |\t\n\r")|
|00004d00| 3b 0a 09 09 69 66 28 71 | 3d 3d 4e 55 4c 4c 29 72 |;...if(q|==NULL)r|
|00004d10| 65 74 75 72 6e 20 2d 31 | 3b 0a 09 09 74 74 79 73 |eturn -1|;...ttys|
|00004d20| 70 65 65 64 20 3d 20 61 | 74 6f 69 28 71 29 3b 0a |peed = a|toi(q);.|
|00004d30| 09 09 72 65 74 75 72 6e | 20 30 3b 0a 0a 09 7d 20 |..return| 0;...} |
|00004d40| 65 6c 73 65 20 69 66 28 | 73 74 72 63 6d 70 28 70 |else if(|strcmp(p|
|00004d50| 2c 22 73 6f 63 6b 65 74 | 22 29 3d 3d 30 29 7b 0a |,"socket|")==0){.|
|00004d60| 09 09 71 20 3d 20 73 74 | 72 74 6f 6b 28 4e 55 4c |..q = st|rtok(NUL|
|00004d70| 4c 2c 20 22 20 5c 74 5c | 6e 5c 72 22 29 3b 0a 09 |L, " \t\|n\r");..|
|00004d80| 09 69 66 28 71 3d 3d 4e | 55 4c 4c 29 72 65 74 75 |.if(q==N|ULL)retu|
|00004d90| 72 6e 20 2d 31 3b 0a 09 | 09 69 66 28 73 74 72 63 |rn -1;..|.if(strc|
|00004da0| 6d 70 28 71 2c 22 69 70 | 22 29 3d 3d 30 29 7b 0a |mp(q,"ip|")==0){.|
|00004db0| 09 09 09 69 70 5f 6d 6f | 64 65 20 3d 20 31 3b 0a |...ip_mo|de = 1;.|
|00004dc0| 09 09 7d 65 6c 73 65 20 | 69 66 28 73 74 72 63 6d |..}else |if(strcm|
|00004dd0| 70 28 71 2c 22 75 64 70 | 22 29 3d 3d 30 29 20 7b |p(q,"udp|")==0) {|
|00004de0| 0a 09 09 09 75 64 70 5f | 6d 6f 64 65 20 3d 20 31 |....udp_|mode = 1|
|00004df0| 3b 0a 09 09 09 6d 79 5f | 75 64 70 20 3d 20 68 74 |;....my_|udp = ht|
|00004e00| 6f 6e 73 28 44 45 46 41 | 55 4c 54 5f 55 44 50 5f |ons(DEFA|ULT_UDP_|
|00004e10| 50 4f 52 54 29 3b 0a 09 | 09 09 71 20 3d 20 73 74 |PORT);..|..q = st|
|00004e20| 72 74 6f 6b 28 4e 55 4c | 4c 2c 20 22 20 5c 74 5c |rtok(NUL|L, " \t\|
|00004e30| 6e 5c 72 22 29 3b 0a 09 | 09 09 69 66 28 71 21 3d |n\r");..|..if(q!=|
|00004e40| 4e 55 4c 4c 29 7b 0a 09 | 09 09 09 69 20 3d 20 61 |NULL){..|...i = a|
|00004e50| 74 6f 69 28 71 29 3b 0a | 09 09 09 09 69 66 28 69 |toi(q);.|....if(i|
|00004e60| 3e 30 29 6d 79 5f 75 64 | 70 20 3d 20 68 74 6f 6e |>0)my_ud|p = hton|
|00004e70| 73 28 69 29 3b 0a 09 09 | 09 7d 0a 09 09 7d 65 6c |s(i);...|.}...}el|
|00004e80| 73 65 20 72 65 74 75 72 | 6e 20 2d 39 3b 0a 09 09 |se retur|n -9;...|
|00004e90| 72 65 74 75 72 6e 20 30 | 3b 0a 0a 09 7d 20 65 6c |return 0|;...} el|
|00004ea0| 73 65 20 69 66 28 73 74 | 72 63 6d 70 28 70 2c 22 |se if(st|rcmp(p,"|
|00004eb0| 62 65 61 63 6f 6e 22 29 | 3d 3d 30 29 7b 0a 09 09 |beacon")|==0){...|
|00004ec0| 71 20 3d 20 73 74 72 74 | 6f 6b 28 4e 55 4c 4c 2c |q = strt|ok(NULL,|
|00004ed0| 20 22 20 5c 74 5c 6e 5c | 72 22 29 3b 0a 09 09 69 | " \t\n\|r");...i|
|00004ee0| 66 28 71 3d 3d 4e 55 4c | 4c 29 72 65 74 75 72 6e |f(q==NUL|L)return|
|00004ef0| 20 2d 31 3b 0a 09 09 69 | 66 28 73 74 72 63 6d 70 | -1;...i|f(strcmp|
|00004f00| 28 71 2c 22 65 76 65 72 | 79 22 29 3d 3d 30 29 20 |(q,"ever|y")==0) |
|00004f10| 62 63 5f 65 76 65 72 79 | 20 3d 20 31 3b 0a 09 09 |bc_every| = 1;...|
|00004f20| 65 6c 73 65 20 69 66 28 | 73 74 72 63 6d 70 28 71 |else if(|strcmp(q|
|00004f30| 2c 22 61 66 74 65 72 22 | 29 3d 3d 30 29 20 62 63 |,"after"|)==0) bc|
|00004f40| 5f 65 76 65 72 79 20 3d | 20 30 3b 0a 09 09 65 6c |_every =| 0;...el|
|00004f50| 73 65 20 72 65 74 75 72 | 6e 20 2d 38 3b 0a 09 09 |se retur|n -8;...|
|00004f60| 71 20 3d 20 73 74 72 74 | 6f 6b 28 4e 55 4c 4c 2c |q = strt|ok(NULL,|
|00004f70| 20 22 20 5c 74 5c 6e 5c | 72 22 29 3b 0a 09 09 69 | " \t\n\|r");...i|
|00004f80| 66 28 71 3d 3d 4e 55 4c | 4c 29 72 65 74 75 72 6e |f(q==NUL|L)return|
|00004f90| 20 2d 31 3b 0a 09 09 62 | 63 5f 69 6e 74 65 72 76 | -1;...b|c_interv|
|00004fa0| 61 6c 20 3d 20 61 74 6f | 69 28 71 29 3b 0a 09 09 |al = ato|i(q);...|
|00004fb0| 72 65 74 75 72 6e 20 30 | 3b 0a 0a 2f 2a 20 54 68 |return 0|;../* Th|
|00004fc0| 69 73 20 6e 65 78 74 20 | 6f 6e 65 20 69 73 20 61 |is next |one is a|
|00004fd0| 20 68 61 63 6b 21 21 21 | 21 21 21 20 77 61 74 63 | hack!!!|!!! watc|
|00004fe0| 68 20 6f 75 74 21 21 21 | 21 20 2a 2f 0a 09 7d 20 |h out!!!|! */..} |
|00004ff0| 65 6c 73 65 20 69 66 28 | 73 74 72 63 6d 70 28 70 |else if(|strcmp(p|
|00005000| 2c 22 62 74 65 78 74 22 | 29 3d 3d 30 29 7b 0a 09 |,"btext"|)==0){..|
|00005010| 09 71 20 3d 20 70 20 2b | 20 73 74 72 6c 65 6e 28 |.q = p +| strlen(|
|00005020| 70 29 20 2b 20 31 3b 0a | 09 09 69 66 28 73 74 72 |p) + 1;.|..if(str|
|00005030| 6c 65 6e 28 71 29 20 3c | 20 32 29 20 72 65 74 75 |len(q) <| 2) retu|
|00005040| 72 6e 20 2d 31 3b 20 20 | 20 20 2f 2a 20 6c 69 6e |rn -1; | /* lin|
|00005050| 65 20 65 6e 64 73 20 77 | 69 74 68 20 61 20 5c 6e |e ends w|ith a \n|
|00005060| 20 2a 2f 0a 09 09 69 66 | 28 73 74 72 6c 65 6e 28 | */...if|(strlen(|
|00005070| 71 29 20 3e 20 73 69 7a | 65 6f 66 20 62 63 5f 74 |q) > siz|eof bc_t|
|00005080| 65 78 74 29 72 65 74 75 | 72 6e 20 2d 37 3b 0a 09 |ext)retu|rn -7;..|
|00005090| 09 71 5b 73 74 72 6c 65 | 6e 28 71 29 2d 31 5d 3d |.q[strle|n(q)-1]=|
|000050a0| 27 5c 30 27 3b 0a 09 09 | 28 76 6f 69 64 29 73 74 |'\0';...|(void)st|
|000050b0| 72 63 70 79 28 62 63 5f | 74 65 78 74 2c 20 71 29 |rcpy(bc_|text, q)|
|000050c0| 3b 0a 09 09 72 65 74 75 | 72 6e 20 30 3b 0a 0a 09 |;...retu|rn 0;...|
|000050d0| 7d 20 65 6c 73 65 20 69 | 66 28 73 74 72 63 6d 70 |} else i|f(strcmp|
|000050e0| 28 70 2c 22 6c 6f 67 6c | 65 76 65 6c 22 29 3d 3d |(p,"logl|evel")==|
|000050f0| 30 29 7b 0a 09 09 71 20 | 3d 20 73 74 72 74 6f 6b |0){...q |= strtok|
|00005100| 28 4e 55 4c 4c 2c 20 22 | 20 5c 74 5c 6e 5c 72 22 |(NULL, "| \t\n\r"|
|00005110| 29 3b 0a 09 09 69 66 28 | 71 3d 3d 4e 55 4c 4c 29 |);...if(|q==NULL)|
|00005120| 72 65 74 75 72 6e 20 2d | 31 3b 0a 09 09 6c 6f 67 |return -|1;...log|
|00005130| 6c 65 76 65 6c 20 3d 20 | 61 74 6f 69 28 71 29 3b |level = |atoi(q);|
|00005140| 0a 09 09 72 65 74 75 72 | 6e 20 30 3b 0a 0a 09 7d |...retur|n 0;...}|
|00005150| 20 65 6c 73 65 20 69 66 | 28 73 74 72 63 6d 70 28 | else if|(strcmp(|
|00005160| 70 2c 22 72 6f 75 74 65 | 22 29 3d 3d 30 29 7b 0a |p,"route|")==0){.|
|00005170| 09 09 75 70 6f 72 74 20 | 3d 20 30 3b 0a 09 09 64 |..uport |= 0;...d|
|00005180| 66 61 6c 74 20 3d 20 30 | 3b 0a 0a 09 09 71 20 3d |falt = 0|;....q =|
|00005190| 20 73 74 72 74 6f 6b 28 | 4e 55 4c 4c 2c 20 22 20 | strtok(|NULL, " |
|000051a0| 5c 74 5c 6e 5c 72 22 29 | 3b 0a 09 09 69 66 28 71 |\t\n\r")|;...if(q|
|000051b0| 3d 3d 4e 55 4c 4c 29 72 | 65 74 75 72 6e 20 2d 31 |==NULL)r|eturn -1|
|000051c0| 3b 0a 09 09 69 66 28 73 | 74 72 63 6d 70 28 71 2c |;...if(s|trcmp(q,|
|000051d0| 22 64 65 66 61 75 6c 74 | 22 29 3d 3d 30 29 20 64 |"default|")==0) d|
|000051e0| 66 61 6c 74 20 3d 20 31 | 3b 0a 09 09 65 6c 73 65 |falt = 1|;...else|
|000051f0| 20 7b 0a 09 09 09 69 66 | 28 61 5f 74 6f 5f 63 61 | {....if|(a_to_ca|
|00005200| 6c 6c 28 71 2c 20 74 63 | 61 6c 6c 29 21 3d 30 29 |ll(q, tc|all)!=0)|
|00005210| 72 65 74 75 72 6e 20 2d | 32 3b 0a 09 09 7d 0a 0a |return -|2;...}..|
|00005220| 09 09 71 20 3d 20 73 74 | 72 74 6f 6b 28 4e 55 4c |..q = st|rtok(NUL|
|00005230| 4c 2c 20 22 20 5c 74 5c | 6e 5c 72 22 29 3b 0a 09 |L, " \t\|n\r");..|
|00005240| 09 69 66 28 71 3d 3d 4e | 55 4c 4c 29 72 65 74 75 |.if(q==N|ULL)retu|
|00005250| 72 6e 20 2d 31 3b 0a 09 | 09 68 65 20 3d 20 67 65 |rn -1;..|.he = ge|
|00005260| 74 68 6f 73 74 62 79 6e | 61 6d 65 28 71 29 3b 0a |thostbyn|ame(q);.|
|00005270| 09 09 69 66 28 68 65 21 | 3d 4e 55 4c 4c 29 7b 0a |..if(he!|=NULL){.|
|00005280| 09 09 09 28 76 6f 69 64 | 29 6d 65 6d 63 70 79 28 |...(void|)memcpy(|
|00005290| 74 69 70 2c 20 68 65 2d | 3e 68 5f 61 64 64 72 5f |tip, he-|>h_addr_|
|000052a0| 6c 69 73 74 5b 30 5d 2c | 20 34 29 3b 0a 09 09 7d |list[0],| 4);...}|
|000052b0| 20 65 6c 73 65 20 7b 20 | 20 20 20 20 20 20 20 2f | else { | /|
|000052c0| 2a 20 6d 61 79 62 65 20 | 75 73 65 72 20 73 70 65 |* maybe |user spe|
|000052d0| 63 69 66 69 65 64 20 61 | 20 6e 75 6d 65 72 69 63 |cified a| numeric|
|000052e0| 20 61 64 64 72 3f 20 2a | 2f 0a 09 09 09 6a 20 3d | addr? *|/....j =|
|000052f0| 20 69 6e 65 74 5f 61 64 | 64 72 28 71 29 3b 0a 09 | inet_ad|dr(q);..|
|00005300| 09 09 69 66 28 6a 3d 3d | 2d 31 29 72 65 74 75 72 |..if(j==|-1)retur|
|00005310| 6e 20 2d 35 3b 20 20 20 | 20 20 2f 2a 20 69 66 20 |n -5; | /* if |
|00005320| 2d 31 2c 20 62 61 64 20 | 64 65 61 6c 21 20 2a 2f |-1, bad |deal! */|
|00005330| 0a 09 09 09 28 76 6f 69 | 64 29 6d 65 6d 63 70 79 |....(voi|d)memcpy|
|00005340| 28 74 69 70 2c 20 28 63 | 68 61 72 20 2a 29 26 6a |(tip, (c|har *)&j|
|00005350| 2c 20 34 29 3b 0a 09 09 | 7d 0a 0a 09 09 71 20 3d |, 4);...|}....q =|
|00005360| 20 73 74 72 74 6f 6b 28 | 4e 55 4c 4c 2c 20 22 20 | strtok(|NULL, " |
|00005370| 5c 74 5c 6e 5c 72 22 29 | 3b 0a 09 09 69 66 28 71 |\t\n\r")|;...if(q|
|00005380| 21 3d 4e 55 4c 4c 29 7b | 0a 09 09 09 69 66 28 73 |!=NULL){|....if(s|
|00005390| 74 72 63 6d 70 28 71 2c | 22 75 64 70 22 29 3d 3d |trcmp(q,|"udp")==|
|000053a0| 30 29 7b 0a 09 09 09 09 | 75 70 6f 72 74 20 3d 20 |0){.....|uport = |
|000053b0| 44 45 46 41 55 4c 54 5f | 55 44 50 5f 50 4f 52 54 |DEFAULT_|UDP_PORT|
|000053c0| 3b 0a 0a 09 09 09 09 71 | 20 3d 20 73 74 72 74 6f |;......q| = strto|
|000053d0| 6b 28 4e 55 4c 4c 2c 20 | 22 20 5c 74 5c 6e 5c 72 |k(NULL, |" \t\n\r|
|000053e0| 22 29 3b 0a 09 09 09 09 | 69 66 28 71 21 3d 4e 55 |");.....|if(q!=NU|
|000053f0| 4c 4c 29 7b 0a 09 09 09 | 09 09 69 20 3d 20 61 74 |LL){....|..i = at|
|00005400| 6f 69 28 71 29 3b 0a 09 | 09 09 09 09 69 66 28 69 |oi(q);..|....if(i|
|00005410| 3e 30 29 75 70 6f 72 74 | 20 3d 20 69 3b 0a 09 09 |>0)uport| = i;...|
|00005420| 09 09 7d 0a 09 09 09 7d | 0a 09 09 7d 0a 0a 09 09 |..}....}|...}....|
|00005430| 72 6f 75 74 65 5f 61 64 | 64 28 74 69 70 2c 20 74 |route_ad|d(tip, t|
|00005440| 63 61 6c 6c 2c 20 75 70 | 6f 72 74 2c 20 64 66 61 |call, up|ort, dfa|
|00005450| 6c 74 29 3b 0a 09 09 72 | 65 74 75 72 6e 20 30 3b |lt);...r|eturn 0;|
|00005460| 0a 0a 09 7d 20 65 6c 73 | 65 20 69 66 28 73 74 72 |...} els|e if(str|
|00005470| 63 6d 70 28 70 2c 22 70 | 61 72 61 6d 22 29 3d 3d |cmp(p,"p|aram")==|
|00005480| 30 29 7b 0a 09 09 71 20 | 3d 20 73 74 72 74 6f 6b |0){...q |= strtok|
|00005490| 28 4e 55 4c 4c 2c 20 22 | 20 5c 74 5c 6e 5c 72 22 |(NULL, "| \t\n\r"|
|000054a0| 29 3b 0a 09 09 69 66 28 | 71 3d 3d 4e 55 4c 4c 29 |);...if(|q==NULL)|
|000054b0| 72 65 74 75 72 6e 20 2d | 31 3b 0a 09 09 69 20 3d |return -|1;...i =|
|000054c0| 20 61 74 6f 69 28 71 29 | 3b 0a 09 09 71 20 3d 20 | atoi(q)|;...q = |
|000054d0| 73 74 72 74 6f 6b 28 4e | 55 4c 4c 2c 20 22 20 5c |strtok(N|ULL, " \|
|000054e0| 74 5c 6e 5c 72 22 29 3b | 0a 09 09 69 66 28 71 3d |t\n\r");|...if(q=|
|000054f0| 3d 4e 55 4c 4c 29 72 65 | 74 75 72 6e 20 2d 31 3b |=NULL)re|turn -1;|
|00005500| 0a 09 09 6a 20 3d 20 61 | 74 6f 69 28 71 29 3b 0a |...j = a|toi(q);.|
|00005510| 09 09 70 61 72 61 6d 5f | 61 64 64 28 69 2c 6a 29 |..param_|add(i,j)|
|00005520| 3b 0a 09 09 72 65 74 75 | 72 6e 20 30 3b 0a 09 7d |;...retu|rn 0;..}|
|00005530| 0a 09 72 65 74 75 72 6e | 20 2d 39 39 39 3b 0a 7d |..return| -999;.}|
|00005540| 0a 0a 2f 2a 20 43 6f 6e | 76 65 72 74 20 61 73 63 |../* Con|vert asc|
|00005550| 69 69 20 63 61 6c 6c 73 | 69 67 6e 20 74 6f 20 69 |ii calls|ign to i|
|00005560| 6e 74 65 72 6e 61 6c 20 | 66 6f 72 6d 61 74 20 2a |nternal |format *|
|00005570| 2f 0a 69 6e 74 0a 61 5f | 74 6f 5f 63 61 6c 6c 28 |/.int.a_|to_call(|
|00005580| 74 65 78 74 2c 20 74 63 | 61 6c 6c 29 0a 63 68 61 |text, tc|all).cha|
|00005590| 72 20 2a 74 65 78 74 3b | 0a 75 6e 73 69 67 6e 65 |r *text;|.unsigne|
|000055a0| 64 20 63 68 61 72 20 2a | 74 63 61 6c 6c 3b 0a 7b |d char *|tcall;.{|
|000055b0| 0a 09 69 6e 74 20 69 3b | 0a 09 69 6e 74 20 73 73 |..int i;|..int ss|
|000055c0| 69 64 3b 0a 09 75 6e 73 | 69 67 6e 65 64 20 63 68 |id;..uns|igned ch|
|000055d0| 61 72 20 63 3b 0a 0a 09 | 69 66 28 73 74 72 6c 65 |ar c;...|if(strle|
|000055e0| 6e 28 74 65 78 74 29 3d | 3d 30 29 72 65 74 75 72 |n(text)=|=0)retur|
|000055f0| 6e 20 2d 31 3b 0a 0a 09 | 73 73 69 64 20 3d 20 30 |n -1;...|ssid = 0|
|00005600| 3b 0a 09 66 6f 72 28 69 | 3d 30 3b 69 3c 36 3b 69 |;..for(i|=0;i<6;i|
|00005610| 2b 2b 29 7b 0a 09 09 74 | 63 61 6c 6c 5b 69 5d 3d |++){...t|call[i]=|
|00005620| 28 27 20 27 3c 3c 31 29 | 3b 0a 09 7d 0a 09 74 63 |(' '<<1)|;..}..tc|
|00005630| 61 6c 6c 5b 36 5d 20 3d | 20 27 5c 30 27 3b 0a 0a |all[6] =| '\0';..|
|00005640| 09 66 6f 72 28 69 3d 30 | 3b 69 3c 73 74 72 6c 65 |.for(i=0|;i<strle|
|00005650| 6e 28 74 65 78 74 29 3b | 69 2b 2b 29 7b 0a 09 09 |n(text);|i++){...|
|00005660| 63 20 3d 20 74 65 78 74 | 5b 69 5d 3b 0a 09 09 69 |c = text|[i];...i|
|00005670| 66 28 63 3d 3d 27 2d 27 | 29 7b 0a 09 09 09 73 73 |f(c=='-'|){....ss|
|00005680| 69 64 20 3d 20 61 74 6f | 69 28 26 74 65 78 74 5b |id = ato|i(&text[|
|00005690| 69 2b 31 5d 29 3b 0a 09 | 09 09 69 66 28 73 73 69 |i+1]);..|..if(ssi|
|000056a0| 64 3e 31 35 29 72 65 74 | 75 72 6e 20 2d 31 3b 0a |d>15)ret|urn -1;.|
|000056b0| 09 09 09 74 63 61 6c 6c | 5b 36 5d 20 3d 20 28 73 |...tcall|[6] = (s|
|000056c0| 73 69 64 3c 3c 31 29 3b | 0a 09 09 09 72 65 74 75 |sid<<1);|....retu|
|000056d0| 72 6e 20 30 3b 0a 09 09 | 7d 0a 09 09 69 66 28 69 |rn 0;...|}...if(i|
|000056e0| 73 6c 6f 77 65 72 28 63 | 29 29 63 20 3d 20 74 6f |slower(c|))c = to|
|000056f0| 75 70 70 65 72 28 63 29 | 3b 0a 09 09 69 66 28 69 |upper(c)|;...if(i|
|00005700| 3e 35 29 72 65 74 75 72 | 6e 20 2d 31 3b 0a 09 09 |>5)retur|n -1;...|
|00005710| 74 63 61 6c 6c 5b 69 5d | 3d 28 63 3c 3c 31 29 3b |tcall[i]|=(c<<1);|
|00005720| 0a 09 7d 0a 09 72 65 74 | 75 72 6e 20 30 3b 0a 7d |..}..ret|urn 0;.}|
|00005730| 0a 0a 2f 2a 20 43 6f 6e | 76 65 72 74 20 69 6e 74 |../* Con|vert int|
|00005740| 65 72 6e 61 6c 20 63 61 | 6c 6c 73 69 67 6e 20 74 |ernal ca|llsign t|
|00005750| 6f 20 70 72 69 6e 74 61 | 62 6c 65 20 66 6f 72 6d |o printa|ble form|
|00005760| 61 74 20 2a 2f 0a 63 68 | 61 72 20 2a 0a 63 61 6c |at */.ch|ar *.cal|
|00005770| 6c 5f 74 6f 5f 61 28 74 | 63 61 6c 6c 29 0a 75 6e |l_to_a(t|call).un|
|00005780| 73 69 67 6e 65 64 20 63 | 68 61 72 20 2a 74 63 61 |signed c|har *tca|
|00005790| 6c 6c 3b 0a 7b 0a 09 69 | 6e 74 20 69 3b 0a 09 69 |ll;.{..i|nt i;..i|
|000057a0| 6e 74 20 73 73 69 64 3b | 0a 09 63 68 61 72 20 2a |nt ssid;|..char *|
|000057b0| 74 70 74 72 3b 0a 09 73 | 74 61 74 69 63 20 63 68 |tptr;..s|tatic ch|
|000057c0| 61 72 20 74 5b 31 30 5d | 3b 0a 0a 09 66 6f 72 28 |ar t[10]|;...for(|
|000057d0| 69 3d 30 2c 74 70 74 72 | 3d 74 3b 69 3c 36 3b 69 |i=0,tptr|=t;i<6;i|
|000057e0| 2b 2b 29 7b 0a 09 09 69 | 66 28 74 63 61 6c 6c 5b |++){...i|f(tcall[|
|000057f0| 69 5d 3d 3d 28 27 20 27 | 3c 3c 31 29 29 62 72 65 |i]==(' '|<<1))bre|
|00005800| 61 6b 3b 0a 09 09 2a 74 | 70 74 72 20 3d 20 74 63 |ak;...*t|ptr = tc|
|00005810| 61 6c 6c 5b 69 5d 3e 3e | 31 3b 0a 09 09 74 70 74 |all[i]>>|1;...tpt|
|00005820| 72 2b 2b 3b 0a 09 7d 0a | 0a 09 73 73 69 64 20 3d |r++;..}.|..ssid =|
|00005830| 20 28 74 63 61 6c 6c 5b | 36 5d 3e 3e 31 29 26 30 | (tcall[|6]>>1)&0|
|00005840| 78 30 66 3b 0a 09 69 66 | 28 73 73 69 64 3e 30 29 |x0f;..if|(ssid>0)|
|00005850| 7b 0a 09 09 2a 74 70 74 | 72 20 3d 20 27 2d 27 3b |{...*tpt|r = '-';|
|00005860| 0a 09 09 74 70 74 72 2b | 2b 3b 0a 09 09 69 66 28 |...tptr+|+;...if(|
|00005870| 73 73 69 64 3e 39 29 7b | 0a 09 09 09 2a 74 70 74 |ssid>9){|....*tpt|
|00005880| 72 20 3d 20 27 31 27 3b | 0a 09 09 09 74 70 74 72 |r = '1';|....tptr|
|00005890| 2b 2b 3b 0a 09 09 09 73 | 73 69 64 20 2d 3d 20 31 |++;....s|sid -= 1|
|000058a0| 30 3b 0a 09 09 7d 0a 09 | 09 2a 74 70 74 72 20 3d |0;...}..|.*tptr =|
|000058b0| 20 27 30 27 20 2b 20 73 | 73 69 64 3b 0a 09 09 74 | '0' + s|sid;...t|
|000058c0| 70 74 72 2b 2b 3b 0a 09 | 7d 0a 0a 09 2a 74 70 74 |ptr++;..|}...*tpt|
|000058d0| 72 20 3d 20 27 5c 30 27 | 3b 0a 09 72 65 74 75 72 |r = '\0'|;..retur|
|000058e0| 6e 20 26 74 5b 30 5d 3b | 0a 7d 0a 0a 2f 2a 20 70 |n &t[0];|.}../* p|
|000058f0| 72 69 6e 74 20 74 68 65 | 20 63 6f 6e 66 69 67 75 |rint the| configu|
|00005900| 72 61 74 69 6f 6e 20 64 | 61 74 61 20 6f 75 74 20 |ration d|ata out |
|00005910| 2a 2f 0a 76 6f 69 64 0a | 64 75 6d 70 5f 63 6f 6e |*/.void.|dump_con|
|00005920| 66 69 67 28 29 0a 7b 0a | 09 4c 4f 47 4c 31 28 22 |fig().{.|.LOGL1("|
|00005930| 5c 6e 43 75 72 72 65 6e | 74 20 63 6f 6e 66 69 67 |\nCurren|t config|
|00005940| 75 72 61 74 69 6f 6e 3a | 5c 6e 22 29 3b 0a 09 69 |uration:|\n");..i|
|00005950| 66 28 69 70 5f 6d 6f 64 | 65 29 20 4c 4f 47 4c 31 |f(ip_mod|e) LOGL1|
|00005960| 28 22 20 20 73 6f 63 6b | 65 74 20 20 20 20 20 69 |(" sock|et i|
|00005970| 70 5c 6e 22 29 3b 0a 09 | 69 66 28 75 64 70 5f 6d |p\n");..|if(udp_m|
|00005980| 6f 64 65 29 4c 4f 47 4c | 31 28 22 20 20 73 6f 63 |ode)LOGL|1(" soc|
|00005990| 6b 65 74 20 20 20 20 20 | 75 64 70 20 6f 6e 20 70 |ket |udp on p|
|000059a0| 6f 72 74 20 25 64 5c 6e | 22 2c 20 6e 74 6f 68 73 |ort %d\n|", ntohs|
|000059b0| 28 6d 79 5f 75 64 70 29 | 29 3b 0a 09 4c 4f 47 4c |(my_udp)|);..LOGL|
|000059c0| 31 28 22 20 20 6d 6f 64 | 65 20 20 20 20 20 20 20 |1(" mod|e |
|000059d0| 25 73 5c 6e 22 2c 20 64 | 69 67 69 20 3f 20 22 64 |%s\n", d|igi ? "d|
|000059e0| 69 67 69 22 20 3a 20 22 | 74 6e 63 22 29 3b 0a 09 |igi" : "|tnc");..|
|000059f0| 4c 4f 47 4c 31 28 22 20 | 20 64 65 76 69 63 65 20 |LOGL1(" | device |
|00005a00| 20 20 20 20 25 73 5c 6e | 22 2c 20 74 74 79 64 65 | %s\n|", ttyde|
|00005a10| 76 69 63 65 29 3b 0a 09 | 4c 4f 47 4c 31 28 22 20 |vice);..|LOGL1(" |
|00005a20| 20 73 70 65 65 64 20 20 | 20 20 20 20 25 64 5c 6e | speed | %d\n|
|00005a30| 22 2c 20 74 74 79 73 70 | 65 65 64 29 3b 0a 09 69 |", ttysp|eed);..i|
|00005a40| 66 28 64 69 67 69 29 4c | 4f 47 4c 31 28 22 20 20 |f(digi)L|OGL1(" |
|00005a50| 6d 79 63 61 6c 6c 20 20 | 20 20 20 25 73 5c 6e 22 |mycall | %s\n"|
|00005a60| 2c 20 63 61 6c 6c 5f 74 | 6f 5f 61 28 6d 79 63 61 |, call_t|o_a(myca|
|00005a70| 6c 6c 73 69 67 6e 29 29 | 3b 0a 09 69 66 28 64 69 |llsign))|;..if(di|
|00005a80| 67 69 20 26 26 20 6d 79 | 61 6c 69 61 73 5b 30 5d |gi && my|alias[0]|
|00005a90| 29 4c 4f 47 4c 31 28 22 | 20 20 6d 79 61 6c 69 61 |)LOGL1("| myalia|
|00005aa0| 73 20 20 20 20 25 73 5c | 6e 22 2c 20 63 61 6c 6c |s %s\|n", call|
|00005ab0| 5f 74 6f 5f 61 28 6d 79 | 61 6c 69 61 73 29 29 3b |_to_a(my|alias));|
|00005ac0| 0a 09 69 66 28 62 63 5f | 69 6e 74 65 72 76 61 6c |..if(bc_|interval|
|00005ad0| 3e 30 29 7b 0a 09 09 4c | 4f 47 4c 31 28 22 20 20 |>0){...L|OGL1(" |
|00005ae0| 62 65 61 63 6f 6e 20 20 | 20 20 20 25 73 20 25 64 |beacon | %s %d|
|00005af0| 5c 6e 22 2c 20 62 63 5f | 65 76 65 72 79 20 3f 20 |\n", bc_|every ? |
|00005b00| 22 65 76 65 72 79 22 20 | 3a 20 22 61 66 74 65 72 |"every" |: "after|
|00005b10| 22 2c 20 62 63 5f 69 6e | 74 65 72 76 61 6c 29 3b |", bc_in|terval);|
|00005b20| 0a 09 09 4c 4f 47 4c 31 | 28 22 20 20 62 74 65 78 |...LOGL1|(" btex|
|00005b30| 74 20 20 20 20 20 20 25 | 73 5c 6e 22 2c 20 62 63 |t %|s\n", bc|
|00005b40| 5f 74 65 78 74 29 3b 0a | 09 7d 0a 09 4c 4f 47 4c |_text);.|.}..LOGL|
|00005b50| 31 28 22 20 20 6c 6f 67 | 6c 65 76 65 6c 20 20 20 |1(" log|level |
|00005b60| 25 64 5c 6e 22 2c 20 6c | 6f 67 6c 65 76 65 6c 29 |%d\n", l|oglevel)|
|00005b70| 3b 0a 09 28 76 6f 69 64 | 29 66 66 6c 75 73 68 28 |;..(void|)fflush(|
|00005b80| 73 74 64 6f 75 74 29 3b | 0a 7d 0a 00 00 00 00 00 |stdout);|.}......|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 61 78 32 35 69 70 2f 63 | 72 63 2e 63 00 00 00 00 |ax25ip/c|rc.c....|
|00005c10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 37 |....1006|44 . 7|
|00005c70| 36 35 20 00 20 20 20 31 | 34 34 20 00 20 20 20 20 |65 . 1|44 . |
|00005c80| 20 20 31 31 35 37 34 20 | 20 35 30 32 33 32 30 34 | 11574 | 5023204|
|00005c90| 32 36 30 20 20 31 31 34 | 34 31 00 20 30 00 00 00 |260 114|41. 0...|
|00005ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d00| 00 75 73 74 61 72 20 20 | 00 6a 65 66 66 00 00 00 |.ustar |.jeff...|
|00005d10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005d30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005d90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005e00| 2f 2a 20 63 72 63 2e 63 | 20 09 09 43 6f 6d 70 75 |/* crc.c| ..Compu|
|00005e10| 74 61 74 69 6f 6e 73 20 | 69 6e 76 6f 6c 76 69 6e |tations |involvin|
|00005e20| 67 20 43 52 43 73 20 2a | 2f 0a 0a 2f 2a 0a 20 2a |g CRCs *|/../*. *|
|00005e30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005e40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005e50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005e60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005e70| 2a 2a 2a 2a 2a 0a 20 2a | 20 54 68 65 20 66 6f 6c |*****. *| The fol|
|00005e80| 6c 6f 77 69 6e 67 20 63 | 6f 64 65 20 77 61 73 20 |lowing c|ode was |
|00005e90| 74 61 6b 65 6e 20 66 72 | 6f 6d 20 41 70 70 65 6e |taken fr|om Appen|
|00005ea0| 64 69 78 20 42 20 6f 66 | 20 52 46 43 20 31 31 37 |dix B of| RFC 117|
|00005eb0| 31 0a 20 2a 20 28 50 6f | 69 6e 74 2d 74 6f 2d 50 |1. * (Po|int-to-P|
|00005ec0| 6f 69 6e 74 20 50 72 6f | 74 6f 63 6f 6c 29 0a 20 |oint Pro|tocol). |
|00005ed0| 2a 0a 20 2a 20 54 68 65 | 20 52 46 43 20 63 72 65 |*. * The| RFC cre|
|00005ee0| 64 69 74 73 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |dits the| followi|
|00005ef0| 6e 67 20 73 6f 75 72 63 | 65 73 20 66 6f 72 20 74 |ng sourc|es for t|
|00005f00| 68 69 73 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |his impl|ementati|
|00005f10| 6f 6e 3a 0a 20 2a 0a 20 | 2a 20 20 20 50 65 72 65 |on:. *. |* Pere|
|00005f20| 7a 2c 20 22 42 79 74 65 | 2d 77 69 73 65 20 43 52 |z, "Byte|-wise CR|
|00005f30| 43 20 43 61 6c 63 75 6c | 61 74 69 6f 6e 73 22 2c |C Calcul|ations",|
|00005f40| 20 49 45 45 45 20 4d 69 | 63 72 6f 2c 20 4a 75 6e | IEEE Mi|cro, Jun|
|00005f50| 65 2c 20 31 39 38 33 2e | 0a 20 2a 0a 20 2a 20 20 |e, 1983.|. *. * |
|00005f60| 20 4d 6f 72 73 65 2c 20 | 47 2e 2c 20 22 43 61 6c | Morse, |G., "Cal|
|00005f70| 63 75 6c 61 74 69 6e 67 | 20 43 52 43 27 73 20 62 |culating| CRC's b|
|00005f80| 79 20 42 69 74 73 20 61 | 6e 64 20 42 79 74 65 73 |y Bits a|nd Bytes|
|00005f90| 22 2c 20 42 79 74 65 2c | 0a 20 2a 20 20 20 53 65 |", Byte,|. * Se|
|00005fa0| 70 74 65 6d 62 65 72 20 | 31 39 38 36 2e 0a 20 2a |ptember |1986.. *|
|00005fb0| 0a 20 2a 20 20 20 4c 65 | 56 61 6e 2c 20 4a 2e 2c |. * Le|Van, J.,|
|00005fc0| 20 22 41 20 46 61 73 74 | 20 43 52 43 22 2c 20 42 | "A Fast| CRC", B|
|00005fd0| 79 74 65 2c 20 4e 6f 76 | 65 6d 62 65 72 20 31 39 |yte, Nov|ember 19|
|00005fe0| 38 37 2e 0a 20 2a 0a 20 | 2a 0a 20 2a 20 54 68 65 |87.. *. |*. * The|
|00005ff0| 20 48 44 4c 43 20 70 6f | 6c 79 6e 6f 6d 69 61 6c | HDLC po|lynomial|
|00006000| 3a 20 78 2a 2a 30 20 2b | 20 78 2a 2a 35 20 2b 20 |: x**0 +| x**5 + |
|00006010| 78 2a 2a 31 32 20 2b 20 | 78 2a 2a 31 36 0a 20 2a |x**12 + |x**16. *|
|00006020| 2f 0a 0a 2f 2a 0a 20 2a | 20 75 31 36 20 72 65 70 |/../*. *| u16 rep|
|00006030| 72 65 73 65 6e 74 73 20 | 61 6e 20 75 6e 73 69 67 |resents |an unsig|
|00006040| 6e 65 64 20 31 36 2d 62 | 69 74 20 6e 75 6d 62 65 |ned 16-b|it numbe|
|00006050| 72 2e 20 20 41 64 6a 75 | 73 74 20 74 68 65 20 74 |r. Adju|st the t|
|00006060| 79 70 65 64 65 66 20 66 | 6f 72 0a 20 2a 20 79 6f |ypedef f|or. * yo|
|00006070| 75 72 20 68 61 72 64 77 | 61 72 65 2e 0a 20 2a 2f |ur hardw|are.. */|
|00006080| 0a 74 79 70 65 64 65 66 | 20 75 6e 73 69 67 6e 65 |.typedef| unsigne|
|00006090| 64 20 73 68 6f 72 74 20 | 75 31 36 3b 0a 0a 0a 2f |d short |u16;.../|
|000060a0| 2a 0a 20 2a 20 46 43 53 | 20 6c 6f 6f 6b 75 70 20 |*. * FCS| lookup |
|000060b0| 74 61 62 6c 65 20 61 73 | 20 63 61 6c 63 75 6c 61 |table as| calcula|
|000060c0| 74 65 64 20 62 79 20 74 | 68 65 20 74 61 62 6c 65 |ted by t|he table|
|000060d0| 20 67 65 6e 65 72 61 74 | 6f 72 20 69 6e 20 73 65 | generat|or in se|
|000060e0| 63 74 69 6f 6e 20 32 2e | 0a 20 2a 2f 0a 73 74 61 |ction 2.|. */.sta|
|000060f0| 74 69 63 20 75 31 36 20 | 66 63 73 74 61 62 5b 32 |tic u16 |fcstab[2|
|00006100| 35 36 5d 20 3d 20 7b 0a | 20 20 20 30 78 30 30 30 |56] = {.| 0x000|
|00006110| 30 2c 20 30 78 31 31 38 | 39 2c 20 30 78 32 33 31 |0, 0x118|9, 0x231|
|00006120| 32 2c 20 30 78 33 32 39 | 62 2c 20 30 78 34 36 32 |2, 0x329|b, 0x462|
|00006130| 34 2c 20 30 78 35 37 61 | 64 2c 20 30 78 36 35 33 |4, 0x57a|d, 0x653|
|00006140| 36 2c 20 30 78 37 34 62 | 66 2c 0a 20 20 20 30 78 |6, 0x74b|f,. 0x|
|00006150| 38 63 34 38 2c 20 30 78 | 39 64 63 31 2c 20 30 78 |8c48, 0x|9dc1, 0x|
|00006160| 61 66 35 61 2c 20 30 78 | 62 65 64 33 2c 20 30 78 |af5a, 0x|bed3, 0x|
|00006170| 63 61 36 63 2c 20 30 78 | 64 62 65 35 2c 20 30 78 |ca6c, 0x|dbe5, 0x|
|00006180| 65 39 37 65 2c 20 30 78 | 66 38 66 37 2c 0a 20 20 |e97e, 0x|f8f7,. |
|00006190| 20 30 78 31 30 38 31 2c | 20 30 78 30 31 30 38 2c | 0x1081,| 0x0108,|
|000061a0| 20 30 78 33 33 39 33 2c | 20 30 78 32 32 31 61 2c | 0x3393,| 0x221a,|
|000061b0| 20 30 78 35 36 61 35 2c | 20 30 78 34 37 32 63 2c | 0x56a5,| 0x472c,|
|000061c0| 20 30 78 37 35 62 37 2c | 20 30 78 36 34 33 65 2c | 0x75b7,| 0x643e,|
|000061d0| 0a 20 20 20 30 78 39 63 | 63 39 2c 20 30 78 38 64 |. 0x9c|c9, 0x8d|
|000061e0| 34 30 2c 20 30 78 62 66 | 64 62 2c 20 30 78 61 65 |40, 0xbf|db, 0xae|
|000061f0| 35 32 2c 20 30 78 64 61 | 65 64 2c 20 30 78 63 62 |52, 0xda|ed, 0xcb|
|00006200| 36 34 2c 20 30 78 66 39 | 66 66 2c 20 30 78 65 38 |64, 0xf9|ff, 0xe8|
|00006210| 37 36 2c 0a 20 20 20 30 | 78 32 31 30 32 2c 20 30 |76,. 0|x2102, 0|
|00006220| 78 33 30 38 62 2c 20 30 | 78 30 32 31 30 2c 20 30 |x308b, 0|x0210, 0|
|00006230| 78 31 33 39 39 2c 20 30 | 78 36 37 32 36 2c 20 30 |x1399, 0|x6726, 0|
|00006240| 78 37 36 61 66 2c 20 30 | 78 34 34 33 34 2c 20 30 |x76af, 0|x4434, 0|
|00006250| 78 35 35 62 64 2c 0a 20 | 20 20 30 78 61 64 34 61 |x55bd,. | 0xad4a|
|00006260| 2c 20 30 78 62 63 63 33 | 2c 20 30 78 38 65 35 38 |, 0xbcc3|, 0x8e58|
|00006270| 2c 20 30 78 39 66 64 31 | 2c 20 30 78 65 62 36 65 |, 0x9fd1|, 0xeb6e|
|00006280| 2c 20 30 78 66 61 65 37 | 2c 20 30 78 63 38 37 63 |, 0xfae7|, 0xc87c|
|00006290| 2c 20 30 78 64 39 66 35 | 2c 0a 20 20 20 30 78 33 |, 0xd9f5|,. 0x3|
|000062a0| 31 38 33 2c 20 30 78 32 | 30 30 61 2c 20 30 78 31 |183, 0x2|00a, 0x1|
|000062b0| 32 39 31 2c 20 30 78 30 | 33 31 38 2c 20 30 78 37 |291, 0x0|318, 0x7|
|000062c0| 37 61 37 2c 20 30 78 36 | 36 32 65 2c 20 30 78 35 |7a7, 0x6|62e, 0x5|
|000062d0| 34 62 35 2c 20 30 78 34 | 35 33 63 2c 0a 20 20 20 |4b5, 0x4|53c,. |
|000062e0| 30 78 62 64 63 62 2c 20 | 30 78 61 63 34 32 2c 20 |0xbdcb, |0xac42, |
|000062f0| 30 78 39 65 64 39 2c 20 | 30 78 38 66 35 30 2c 20 |0x9ed9, |0x8f50, |
|00006300| 30 78 66 62 65 66 2c 20 | 30 78 65 61 36 36 2c 20 |0xfbef, |0xea66, |
|00006310| 30 78 64 38 66 64 2c 20 | 30 78 63 39 37 34 2c 0a |0xd8fd, |0xc974,.|
|00006320| 20 20 20 30 78 34 32 30 | 34 2c 20 30 78 35 33 38 | 0x420|4, 0x538|
|00006330| 64 2c 20 30 78 36 31 31 | 36 2c 20 30 78 37 30 39 |d, 0x611|6, 0x709|
|00006340| 66 2c 20 30 78 30 34 32 | 30 2c 20 30 78 31 35 61 |f, 0x042|0, 0x15a|
|00006350| 39 2c 20 30 78 32 37 33 | 32 2c 20 30 78 33 36 62 |9, 0x273|2, 0x36b|
|00006360| 62 2c 0a 20 20 20 30 78 | 63 65 34 63 2c 20 30 78 |b,. 0x|ce4c, 0x|
|00006370| 64 66 63 35 2c 20 30 78 | 65 64 35 65 2c 20 30 78 |dfc5, 0x|ed5e, 0x|
|00006380| 66 63 64 37 2c 20 30 78 | 38 38 36 38 2c 20 30 78 |fcd7, 0x|8868, 0x|
|00006390| 39 39 65 31 2c 20 30 78 | 61 62 37 61 2c 20 30 78 |99e1, 0x|ab7a, 0x|
|000063a0| 62 61 66 33 2c 0a 20 20 | 20 30 78 35 32 38 35 2c |baf3,. | 0x5285,|
|000063b0| 20 30 78 34 33 30 63 2c | 20 30 78 37 31 39 37 2c | 0x430c,| 0x7197,|
|000063c0| 20 30 78 36 30 31 65 2c | 20 30 78 31 34 61 31 2c | 0x601e,| 0x14a1,|
|000063d0| 20 30 78 30 35 32 38 2c | 20 30 78 33 37 62 33 2c | 0x0528,| 0x37b3,|
|000063e0| 20 30 78 32 36 33 61 2c | 0a 20 20 20 30 78 64 65 | 0x263a,|. 0xde|
|000063f0| 63 64 2c 20 30 78 63 66 | 34 34 2c 20 30 78 66 64 |cd, 0xcf|44, 0xfd|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.